Hi all,
First of all I've searched the net but with no luck. My problem is I have a master/detail webform. i.e. the user clicks a record from the list and I show a modalpopup with the data. Here the user can edit this data. Apart from clientside validation I have some server validation (which I need).
In the (server) Click event of the submit LinkButton I have the following:
Everything, like the validator values remain there which is as I need it and all the functionality is there. The only problem I have is there is a flicker after postback.
I tried putting it all into an UpdatePanel but with no luck.
Is there a way I could make a partial postback or maybe call postback from clienside? If yes could you please explain how this could be done? Also any code snippets are very welcome (I'm quite new to AJAX, especially Javascript)
Thanks
Luk
First of all I've searched the net but with no luck. My problem is I have a master/detail webform. i.e. the user clicks a record from the list and I show a modalpopup with the data. Here the user can edit this data. Apart from clientside validation I have some server validation (which I need).
In the (server) Click event of the submit LinkButton I have the following:
Code:
protected void lbtnSave_Click(object sender, EventArgs e) { if (Page.IsValid) { //save changes } else { //show the popup again since after postback it is hidden modalPopupExtender.Show(); } }
I tried putting it all into an UpdatePanel but with no luck.
Is there a way I could make a partial postback or maybe call postback from clienside? If yes could you please explain how this could be done? Also any code snippets are very welcome (I'm quite new to AJAX, especially Javascript)
Thanks
Luk
Comment