Click here to Skip to main content
       

JavaScript

 
Questioncss PinmemberSINNAM28-Dec-12 1:29 
AnswerRe: css PinmvpSandeep Mewara4-Jan-13 3:14 
AnswerFB Connect Javascript Pinmembersasikumar.prs26-Dec-12 23:29 
GeneralRe: FB Connect Javascript Pinmemberkhiladi78631-Dec-12 5:40 
GeneralRe: FB Connect Javascript Pinmemberjkirkerx31-Dec-12 10:36 
AnswerRe: FB Connect Javascript PinmvpSandeep Mewara4-Jan-13 3:17 
QuestionGridview Problem Pinmemberjojoba201122-Dec-12 5:05 
AnswerRe: Gridview Problem PinmvpSandeep Mewara4-Jan-13 3:25 
jojoba2011 wrote:
How to set the new value to remain ?

It looks like you are having a postback after the OnClientClick method. On server side, you must be rebinding the grid and thus old data remains. Just put a debugger on server side and see for yourself.
 
To avoid the postback, truncate the request at client side itself post calling Open method, like:
OnClientClick='<%# " Open("+ DataBinder.Eval(Container.DataItem,"Id") + ");" %> return false;' 
Sandeep Mewara
Microsoft ASP.NET MVP 2012 & 2013
 

[My Latest Article(s)]:
How to extend a WPF Textbox to Custom Picker
Server side Delimiters in ASP.NET

Questionxna4life Member 13 Points 71 Posts hard code drop down instead of using toolbar and r/s PinmemberxnaLearner21-Dec-12 3:34 
Questioni m using google map its giving little bit problem. Pinmemberkapil sharma 4920-Dec-12 23:52 
AnswerRe: i m using google map its giving little bit problem. PinmvpSandeep Mewara4-Jan-13 3:31 
Question"&nbsp" problem in Javascript PinmemberBrianCampbellMCAD20-Dec-12 12:08 
QuestionRe: "&nbsp" problem in Javascript PinmvpRichard MacCutchan20-Dec-12 23:00 
AnswerRe: "&nbsp" problem in Javascript PinmemberBrianCampbellMCAD21-Dec-12 1:42 
GeneralRe: "&nbsp" problem in Javascript PinmvpRichard MacCutchan21-Dec-12 2:06 
AnswerRe: "&nbsp" problem in Javascript Pinmemberjkirkerx31-Dec-12 10:39 
Questionjquery tabslideout plugin and want to detect when div slide in and out PinmemberTridip Bhattacharjee20-Dec-12 3:54 
AnswerRe: jquery tabslideout plugin and want to detect when div slide in and out Pinmembervbmike21-Dec-12 6:25 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out PinmemberTridip Bhattacharjee23-Dec-12 6:35 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out Pinmembervbmike23-Dec-12 11:31 
QuestionConvert HTML to PDF (Client Side) PinmemberPhanindra26116-Dec-12 20:07 
QuestionRe: Convert HTML to PDF (Client Side) Pinmemberryanb3118-Dec-12 5:05 
AnswerRe: Convert HTML to PDF (Client Side) PinmemberPhanindra26118-Dec-12 17:50 
GeneralRe: Convert HTML to PDF (Client Side) PinmemberJ4amieC18-Dec-12 21:29 
QuestionCan't figure out why the currentSlide goes 0-3-2 Pinmemberjkirkerx16-Dec-12 12:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 16 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid