Click here to Skip to main content
15,914,222 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to make the Set up of windows Services Pin
Parwej Ahamad18-Apr-08 1:43
professionalParwej Ahamad18-Apr-08 1:43 
GeneralRe: how to make the Set up of windows Services Pin
Piyush Vardhan Singh18-Apr-08 2:31
Piyush Vardhan Singh18-Apr-08 2:31 
GeneralRe: how to make the Set up of windows Services Pin
Parwej Ahamad18-Apr-08 8:01
professionalParwej Ahamad18-Apr-08 8:01 
QuestionDirect Dowloading file from webserver? Pin
r aa j18-Apr-08 0:56
r aa j18-Apr-08 0:56 
AnswerRe: Direct Dowloading file from webserver? Pin
Eduard Keilholz18-Apr-08 1:24
Eduard Keilholz18-Apr-08 1:24 
GeneralRe: Direct Dowloading file from webserver? Pin
r aa j18-Apr-08 1:35
r aa j18-Apr-08 1:35 
AnswerRe: Direct Dowloading file from webserver? Pin
Vasudevan Deepak Kumar18-Apr-08 1:46
Vasudevan Deepak Kumar18-Apr-08 1:46 
GeneralJavascript Error Pin
samerh18-Apr-08 0:08
samerh18-Apr-08 0:08 
hi all
i have a web page and a gridview inside it. In this gridview i added an item template, inside this item template i have a table called table main. Inside table main, in the last tr i have another table called tblOperator and an html button called btnview so the code looks like:
<code>
&lt;asp:GridView ID="gvRaison" runat="server" AllowPaging="True" AutoGenerateColumns="False"
PageSize="5" ShowHeader="False" Width="100%" DataKeyNames="RaisonId" EmptyDataText="No Data found"&gt;
&lt;Columns&gt;
&lt;asp:TemplateField HeaderText="Name"&gt;
&lt;ItemTemplate&gt;
&lt;table style="width: 100%;" Id="TableMain" class="TableMain"&gt;
<tr>.
<tr>
&lt;input id="btnview" type="button" onclick="ShowHideTable(this);" value="Show" /&gt;
&lt;table id="tblOperator" class="TableMain" style="width: 70%"&gt;
</code>
i have wrote a javscript function to view/hide the tbloperator
function ShowHideTable(args)
{
if (args.value=='Show')
{
tblOperator.style.display="block";
args.value= 'Hide';
}
else if (args.value=='Hide')
{
tblOperator.style.display="none";
args.value= 'Show';
}
}

iam getting an error on this line tblOperator.style.display="none";
the error says tblOperator.style is null or not an object.
how can i reference the tblOperator table and set its display?
GeneralRe: Javascript Error Pin
Christian Graus18-Apr-08 0:36
protectorChristian Graus18-Apr-08 0:36 
GeneralRe: Javascript Error Pin
samerh18-Apr-08 1:06
samerh18-Apr-08 1:06 
GeneralRe: Javascript Error Pin
Sankar Komma 18-Apr-08 1:33
Sankar Komma 18-Apr-08 1:33 
GeneralRe: Javascript Error Pin
J a a n s18-Apr-08 1:22
professionalJ a a n s18-Apr-08 1:22 
GeneralRe: Javascript Error Pin
samerh18-Apr-08 1:29
samerh18-Apr-08 1:29 
GeneralClientScript.RegisterStartupScript + navigating to another page + while pressing back button alert comes. [modified] Pin
joe vianney18-Apr-08 0:03
joe vianney18-Apr-08 0:03 
GeneralRe: ClientScript.RegisterStartupScript + navigating to another page + while pressing back button alert comes. Pin
Sandeep Akhare18-Apr-08 0:19
Sandeep Akhare18-Apr-08 0:19 
GeneralRe: ClientScript.RegisterStartupScript + navigating to another page + while pressing back button alert comes. Pin
joe vianney18-Apr-08 1:58
joe vianney18-Apr-08 1:58 
GeneralRe: ClientScript.RegisterStartupScript + navigating to another page + while pressing back button alert comes. [modified] Pin
yo Id13-May-14 1:48
yo Id13-May-14 1:48 
Question"extender controls may not be registered after prerender" error Pin
xmasis4life17-Apr-08 23:52
xmasis4life17-Apr-08 23:52 
GeneralRe: "extender controls may not be registered after prerender" error Pin
mihai12318-Apr-08 0:16
mihai12318-Apr-08 0:16 
QuestionHow to change SessionID Pin
Shajeel17-Apr-08 23:33
Shajeel17-Apr-08 23:33 
GeneralRe: How to change SessionID Pin
Reelix17-Apr-08 23:41
Reelix17-Apr-08 23:41 
GeneralRe: How to change SessionID Pin
Vasudevan Deepak Kumar18-Apr-08 1:47
Vasudevan Deepak Kumar18-Apr-08 1:47 
GeneralColour change Pin
jeffrey kalampukattussery17-Apr-08 22:28
jeffrey kalampukattussery17-Apr-08 22:28 
GeneralRe: Colour change Pin
eyeseetee17-Apr-08 22:39
eyeseetee17-Apr-08 22:39 
GeneralRe: Colour change Pin
jeffrey kalampukattussery17-Apr-08 22:50
jeffrey kalampukattussery17-Apr-08 22:50 

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.