Click here to Skip to main content
15,891,136 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generalcustom resource provider compile time errors Pin
Member 285544920-Feb-08 0:39
Member 285544920-Feb-08 0:39 
GeneralDisplay values from dataset to textboxes.. Pin
codingrocks20-Feb-08 0:34
codingrocks20-Feb-08 0:34 
GeneralRe: Display values from dataset to textboxes.. Pin
That's Aragon20-Feb-08 1:26
That's Aragon20-Feb-08 1:26 
Generalopening a new browser window from gridview hyperlinkfield Pin
eyeseetee20-Feb-08 0:15
eyeseetee20-Feb-08 0:15 
GeneralRich TextBox in ASP.NET Pin
.NET- India 19-Feb-08 23:51
.NET- India 19-Feb-08 23:51 
GeneralRe: Rich TextBox in ASP.NET Pin
N a v a n e e t h19-Feb-08 23:57
N a v a n e e t h19-Feb-08 23:57 
GeneralAJAX Panel control Pin
eyeseetee19-Feb-08 23:40
eyeseetee19-Feb-08 23:40 
GeneralRe: AJAX Panel control Pin
newc120-Feb-08 2:05
newc120-Feb-08 2:05 
Have you thought of using JavaScript and not using the UpdatePanel control at all? From experience the UpdatePanel is not a great control and if all you are looking to do is toggle the display of a block-level element, then the following would be far easier in my opinion:

Your JavaScript...
<br />
function toggleDisplay(toggleDiv)<br />
{<br />
toggleDiv = document.getElementById(toggleDiv);<br />
<br />
if (toggleDiv.style.display != 'none')<br />
toggleDiv.style.display = 'none';<br />
else<br />
toggleDiv.style.display = 'block';<br />
}<br />


Your HTML...
<br />
<asp:Button OnClientClick="toggleDisplay('toggleDiv'); return false;" ID="btn_search_by_area1" runat="server" Text="Search Sub Dep." /><br />
<div id="toggleDiv"><br />
ghjgjhgg<br />
</div><br />


Clean code is the key to happiness.

GeneralSkelta in .net Pin
saravanan0519-Feb-08 23:12
saravanan0519-Feb-08 23:12 
Questionplz help me..... in gridview Pin
sri_ashutosh19-Feb-08 23:08
sri_ashutosh19-Feb-08 23:08 
AnswerRe: plz help me..... in gridview Pin
Sonia Gupta19-Feb-08 23:13
Sonia Gupta19-Feb-08 23:13 
GeneralRe: plz help me..... in gridview Pin
kiran_prakash20-Feb-08 1:23
kiran_prakash20-Feb-08 1:23 
Questionform management Pin
Sonia Gupta19-Feb-08 22:59
Sonia Gupta19-Feb-08 22:59 
GeneralRe: form management Pin
N a v a n e e t h19-Feb-08 23:19
N a v a n e e t h19-Feb-08 23:19 
QuestionRe: form management [modified] Pin
Sonia Gupta19-Feb-08 23:55
Sonia Gupta19-Feb-08 23:55 
GeneralRe: form management Pin
N a v a n e e t h20-Feb-08 0:18
N a v a n e e t h20-Feb-08 0:18 
QuestionRe: form management Pin
Sonia Gupta20-Feb-08 0:23
Sonia Gupta20-Feb-08 0:23 
QuestionRe: form management Pin
Sonia Gupta20-Feb-08 1:14
Sonia Gupta20-Feb-08 1:14 
Questionhow to show the bottom row or a last row of a grid view .while grid view is in the panel. Pin
jagan12319-Feb-08 22:11
jagan12319-Feb-08 22:11 
GeneralTimer in online examination system Pin
yogesh_kumar_agarwal19-Feb-08 22:10
yogesh_kumar_agarwal19-Feb-08 22:10 
GeneralRe: Timer in online examination system Pin
Sathesh Sakthivel19-Feb-08 22:17
Sathesh Sakthivel19-Feb-08 22:17 
Generalproblem with css Pin
eyeseetee19-Feb-08 21:56
eyeseetee19-Feb-08 21:56 
GeneralRe: problem with css Pin
Paddy Boyd19-Feb-08 22:43
Paddy Boyd19-Feb-08 22:43 
GeneralRe: problem with css Pin
eyeseetee19-Feb-08 23:38
eyeseetee19-Feb-08 23:38 
GeneralRe: problem with css Pin
dilipv20-Feb-08 0:19
dilipv20-Feb-08 0:19 

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

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