2
Answers

About deployment

satya repaka

satya repaka

9y
488
1
How to deploy sharepoint site in production?
Answers (2)
0
sourabh choubey

sourabh choubey

NA 19 1.2k 8y
HOW TO BIND CONFIRMATION MESSAGE WHETHER TO DELETE PARTICULAR ITEM OR NOT IN SERVER SITE USING STRING BUILDER
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 8y
Try with below code:
  1. StringBuilder sb=new StringBuilder();
  2. sb.Append("<input type=\"button\"title=\"Delete\"value=\"Delete\"
  3. onclick=\"location.href='@Url.Action(\"Delete\",\"movies\",new{id=item.ID})'\"/>");
  4. sb.Append("<input type=\"button\"title=\"Edit\"value=\"Edit\"
  5. onclick=\"location.href='@Url.Action(\"Edit\",\"movies\",new{id=item.ID})'\"/>");
0
sourabh choubey

sourabh choubey

NA 19 1.2k 8y
hey this code is not working.Why u r sending my same code..
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 834.7k 8y
Try this.
  1. builder.AppendLine("<ahref=@Url.Action('DeleteParticulars','SecretaryUser',new{ID='"+id+"'})onclick='returnconfirm('AreusuretoDeleteParticularsRecords.')'><iclass='icon-trash'></i></a>");
0
sourabh choubey

sourabh choubey

NA 19 1.2k 8y
point is simple how to bind delete button using string builder in mvc.I am giving u the syntax .This is not working can u please modify it so that it takes right url
builder.Append("<a href=@Url.Action('DeleteParticulars','SecretaryUser',new{ID='" + id + "'}) onclick='return confirm('Are u sure to Delete Particulars Records.')'><i class='icon-trash'></i></a>");
0
Bikesh Srivastava

Bikesh Srivastava

NA 19.8k 834.7k 8y
Hi,
I am not getting your point.please explain