Click here to Skip to main content
16,016,712 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: UpLoad File Pin
bhanu1234523-Jan-08 23:59
bhanu1234523-Jan-08 23:59 
Questionhow to handle delete,cut of the textbox using javascript Pin
jagan12323-Jan-08 21:17
jagan12323-Jan-08 21:17 
AnswerRe: how to handle delete,cut of the textbox using javascript Pin
Sandeep Akhare23-Jan-08 23:31
Sandeep Akhare23-Jan-08 23:31 
GeneralDynamic Image Creation Optimization Pin
Expert Coming23-Jan-08 20:19
Expert Coming23-Jan-08 20:19 
GeneralRe: Dynamic Image Creation Optimization Pin
N a v a n e e t h23-Jan-08 22:48
N a v a n e e t h23-Jan-08 22:48 
GeneralProblem in converting HTML page to user control Pin
AumSingh23-Jan-08 20:08
professionalAumSingh23-Jan-08 20:08 
GeneralRe: Problem in converting HTML page to user control Pin
N a v a n e e t h23-Jan-08 21:48
N a v a n e e t h23-Jan-08 21:48 
QuestionHow to use java script code in user control Pin
Sutheesh23-Jan-08 19:47
Sutheesh23-Jan-08 19:47 
Hi,

i created one user control, in that control i called function. But it is not working when i used that user control in my form.
But the same coding can be working in pages.

Can any one help me?

In my user control i created one table like this,




I write the code in server side as follows,
HtmlTableRow htr,htr1;
HtmlTableCell htc;
htr = new HtmlTableRow();
htc = new HtmlTableCell();
htc.InnerHtml = "Sutheesh Visible";
htr.Cells.Add(htc);
SampForum.Controls.Add(htr);
htr1 = new HtmlTableRow();
htr1.ID = "Hello";
htc = new HtmlTableCell();
htc.InnerHtml = "Sutheesh Invisible";
htr1.Cells.Add(htc);
htr1.Style.Add("display", "none");
htr.Attributes.Add("onClick", "ShowHide('" + htr1.ClientID+ "')");
Ftable.Controls.Add(htr1);


JavaScript:
function ShowHide(cell)
{
alert(cell);
if(document.getElementById(cell).style.display=="none")
document.getElementById(cell).style.display="inline";
else
document.getElementById(cell).style.display="none";
}
AnswerRe: How to use java script code in user control Pin
pmarfleet23-Jan-08 19:51
pmarfleet23-Jan-08 19:51 
GeneralRe: How to use java script code in user control Pin
Sutheesh23-Jan-08 20:03
Sutheesh23-Jan-08 20:03 
GeneralRe: How to use java script code in user control Pin
N a v a n e e t h23-Jan-08 21:44
N a v a n e e t h23-Jan-08 21:44 
GeneralRe: How to use java script code in user control Pin
Sutheesh24-Jan-08 2:53
Sutheesh24-Jan-08 2:53 
GeneralPrinting a report Pin
samerh23-Jan-08 19:21
samerh23-Jan-08 19:21 
QuestionHow to Delete file on Server Pin
amin_behzadi23-Jan-08 19:16
professionalamin_behzadi23-Jan-08 19:16 
AnswerRe: How to Delete file on Server Pin
N a v a n e e t h23-Jan-08 21:51
N a v a n e e t h23-Jan-08 21:51 
GeneralFixing header in Gridview - Header creeps out of div or panel Pin
koshyjerrin23-Jan-08 19:16
koshyjerrin23-Jan-08 19:16 
GeneralApplication Run Very Slowly Pin
saravanan0523-Jan-08 19:15
saravanan0523-Jan-08 19:15 
GeneralAssending or Dessending order Pin
gunaarun23-Jan-08 18:41
gunaarun23-Jan-08 18:41 
Questionhow can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 18:34
Radha2723-Jan-08 18:34 
AnswerRe: how can i get a message box in asp.net using c# Pin
Vasudevan Deepak Kumar23-Jan-08 18:40
Vasudevan Deepak Kumar23-Jan-08 18:40 
AnswerRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 19:08
N a v a n e e t h23-Jan-08 19:08 
AnswerRe: how can i get a message box in asp.net using c# Pin
Abhijit Jana23-Jan-08 19:12
professionalAbhijit Jana23-Jan-08 19:12 
GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 20:25
Radha2723-Jan-08 20:25 
GeneralRe: how can i get a message box in asp.net using c# Pin
N a v a n e e t h23-Jan-08 21:40
N a v a n e e t h23-Jan-08 21:40 
GeneralRe: how can i get a message box in asp.net using c# Pin
Radha2723-Jan-08 22:31
Radha2723-Jan-08 22:31 

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.