Click here to Skip to main content
15,905,322 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: using activeX in web form Pin
kuyak200029-Oct-07 18:48
kuyak200029-Oct-07 18:48 
GeneralRe: using activeX in web form Pin
samy10030-Oct-07 8:32
samy10030-Oct-07 8:32 
QuestionHashTable..., Pin
Member 387988129-Oct-07 3:38
Member 387988129-Oct-07 3:38 
AnswerRe: HashTable..., Pin
blue_arc29-Oct-07 5:17
blue_arc29-Oct-07 5:17 
Questionusing dropdownlist Pin
Rinki Mukheraji29-Oct-07 3:18
Rinki Mukheraji29-Oct-07 3:18 
AnswerRe: using dropdownlist Pin
Sathesh Sakthivel29-Oct-07 3:26
Sathesh Sakthivel29-Oct-07 3:26 
AnswerRe: using dropdownlist Pin
Imran Khan Pathan29-Oct-07 3:51
Imran Khan Pathan29-Oct-07 3:51 
Questionwhy my javascript attribut dosent work in usercontrol ???? Pin
elhameh29-Oct-07 3:12
elhameh29-Oct-07 3:12 
I got following scenario:

User control placed on default.aspx page, in my user control i got a text box and "Submit" button is on my user control.

Now i need to add the validat my text box (which is in user control) when user clicks "Submit" button then i should show error message. I need to do my validation on client side


I tried it by adding an attribut to my button like this :

BtnSave.Attributes.Add("onclick", "if (!ValidateSecActionType()) return false; ");

then i wrote this code in codefront page :


function ValidateSecActionType()
{
if(document.getElementById('txtSecActionTypeTitle').innerText == "1" )
{
document.getElementById('AlertLbl').style.visibility = 'visible' ;
return false;
}
return true;

}


now when i run my page i have an error like this :
Object Required

how can i do this ?????????????




thanks alot....
AnswerRe: why my javascript attribut dosent work in usercontrol ???? Pin
Guffa29-Oct-07 3:31
Guffa29-Oct-07 3:31 
AnswerRe: why my javascript attribut dosent work in usercontrol ???? Pin
blue_arc29-Oct-07 5:23
blue_arc29-Oct-07 5:23 
Questionswf_asp.net Pin
r a j u u29-Oct-07 2:46
r a j u u29-Oct-07 2:46 
AnswerRe: swf_asp.net Pin
N a v a n e e t h29-Oct-07 2:57
N a v a n e e t h29-Oct-07 2:57 
GeneralRe: swf_asp.net Pin
r a j u u29-Oct-07 3:05
r a j u u29-Oct-07 3:05 
GeneralRe: swf_asp.net Pin
r a j u u29-Oct-07 3:08
r a j u u29-Oct-07 3:08 
Questionclear the datagrid old value in asp.net Pin
ps.srinivasan29-Oct-07 2:15
ps.srinivasan29-Oct-07 2:15 
AnswerRe: clear the datagrid old value in asp.net Pin
N a v a n e e t h29-Oct-07 2:16
N a v a n e e t h29-Oct-07 2:16 
GeneralRe: clear the datagrid old value in asp.net Pin
ps.srinivasan29-Oct-07 2:24
ps.srinivasan29-Oct-07 2:24 
GeneralRe: clear the datagrid old value in asp.net Pin
N a v a n e e t h29-Oct-07 2:44
N a v a n e e t h29-Oct-07 2:44 
QuestionSplit a String? Pin
Kasi Viswanathan29-Oct-07 2:05
Kasi Viswanathan29-Oct-07 2:05 
AnswerRe: Split a String? Pin
N a v a n e e t h29-Oct-07 2:09
N a v a n e e t h29-Oct-07 2:09 
AnswerRe: Split a String? Pin
ps.srinivasan29-Oct-07 2:21
ps.srinivasan29-Oct-07 2:21 
AnswerRe: Split a String? Pin
r a j u u29-Oct-07 2:57
r a j u u29-Oct-07 2:57 
AnswerRe: Split a String? Pin
Guffa29-Oct-07 3:37
Guffa29-Oct-07 3:37 
GeneralRe: Split a String? Pin
Kasi Viswanathan31-Oct-07 2:08
Kasi Viswanathan31-Oct-07 2:08 
QuestionRegarding use of class in tab control Pin
achichandu29-Oct-07 1:40
achichandu29-Oct-07 1:40 

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.