refresh the page asp.net2.0+c#
-
-
i have datalist in that i used item templates as linkbutton and a datalist.. i used to click on the linkbutton to show the item template datalist..but i hav to referesh the page on each click on the linkbuton...hw can i do that?\ plz help me.. thanks
regimol wrote:
i used item templates as linkbutton and a datalist.
Do you mean one more datalist inside ?
regimol wrote:
.but i hav to referesh the page on each click on the linkbuton...hw can i do that
Now how you are showing datalist ?
-
regimol wrote:
i used item templates as linkbutton and a datalist.
Do you mean one more datalist inside ?
regimol wrote:
.but i hav to referesh the page on each click on the linkbuton...hw can i do that
Now how you are showing datalist ?
-
yes... its like.. all employee-id,s in thed link button. all employee details in the data list.. but if i click on emp-1 hav to show the details of that emplyee.n tn click on emp2 have to refresh that page n shoe only emplyee 2 details...
First Bind all data on page load event After that U can call javascript fnuction to show or hide inner datalist on click of LinkButton Best Regard Pathan
GOD HELP THOSE WHO HELP THEMSELVES
-
regimol wrote:
i used item templates as linkbutton and a datalist.
Do you mean one more datalist inside ?
regimol wrote:
.but i hav to referesh the page on each click on the linkbuton...hw can i do that
Now how you are showing datalist ?
-
or hw can i do like this community?if i click on one qu it'll pop out..n if click once again it'll popup??
Take datalist in div tag and apply style="display:none;" Javascript function function visibility(divId) { if(document.GetElementById('divId').style.display=="none") document.GetElementById('divId').style.display="block" else document.GetElementById('divId').style.display="none" } Best regard Pathan
GOD HELP THOSE WHO HELP THEMSELVES