How to bind edit and delete button using string builder in mSCsourabh choubey10yAsked Jul 19, 2016, 9:00 PM EDT6 answersShareLinkedInXCopy linkSavehow to bind edit and delete button using string builder in mvc not using asp.net...
How to bind edit and delete button using string builder in mSCsourabh choubey10yAsked Jul 19, 2016, 9:00 PM EDT6 answersShareLinkedInXCopy linkSavehow to bind edit and delete button using string builder in mvc not using asp.net...
Bikesh SrivastavaRank #108 · 20.3K reputation10y agoPosted Jul 19, 2016, 10:35 PM EDT0Hi,I am not getting your point.please explain0
SCsourabh choubey23 reputation10y agoPosted Jul 19, 2016, 10:46 PM EDT0point 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("");0Bikesh SrivastavaRank #108 · 20.3K reputation10y agoPosted Jul 19, 2016, 11:07 PM EDT0Try this.builder.AppendLine("+id+"'})onclick='returnconfirm('AreusuretoDeleteParticularsRecords.')'>");0SCsourabh choubey23 reputation10y agoPosted Jul 19, 2016, 11:57 PM EDT0hey this code is not working.Why u r sending my same code..0Manas MohapatraRank #182 · 13.2K reputation10y agoPosted Jul 20, 2016, 1:11 AM EDT0 Try with below code:StringBuilder sb=new StringBuilder();sb.Append("onclick=\"location.href='@Url.Action(\"Delete\",\"movies\",new{id=item.ID})'\"/>");sb.Append("onclick=\"location.href='@Url.Action(\"Edit\",\"movies\",new{id=item.ID})'\"/>");0SCsourabh choubey23 reputation10y agoPosted Jul 20, 2016, 2:00 AM EDT0HOW TO BIND CONFIRMATION MESSAGE WHETHER TO DELETE PARTICULAR ITEM OR NOT IN SERVER SITE USING STRING BUILDER0Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bikesh SrivastavaRank #108 · 20.3K reputation10y agoPosted Jul 19, 2016, 11:07 PM EDT0Try this.builder.AppendLine("+id+"'})onclick='returnconfirm('AreusuretoDeleteParticularsRecords.')'>");0
SCsourabh choubey23 reputation10y agoPosted Jul 19, 2016, 11:57 PM EDT0hey this code is not working.Why u r sending my same code..0
Manas MohapatraRank #182 · 13.2K reputation10y agoPosted Jul 20, 2016, 1:11 AM EDT0 Try with below code:StringBuilder sb=new StringBuilder();sb.Append("onclick=\"location.href='@Url.Action(\"Delete\",\"movies\",new{id=item.ID})'\"/>");sb.Append("onclick=\"location.href='@Url.Action(\"Edit\",\"movies\",new{id=item.ID})'\"/>");0
SCsourabh choubey23 reputation10y agoPosted Jul 20, 2016, 2:00 AM EDT0HOW TO BIND CONFIRMATION MESSAGE WHETHER TO DELETE PARTICULAR ITEM OR NOT IN SERVER SITE USING STRING BUILDER0
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jul 19, 2016, 10:35 PM EDT
sourabh choubey23 reputationPosted Jul 19, 2016, 10:46 PM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jul 19, 2016, 11:07 PM EDT
sourabh choubey23 reputationPosted Jul 19, 2016, 11:57 PM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Jul 20, 2016, 1:11 AM EDT
sourabh choubey23 reputationPosted Jul 20, 2016, 2:00 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts