Click here to Skip to main content
15,889,335 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncreate subdomain by programming??????????????? Pin
mr.mohsen2-Oct-07 10:27
mr.mohsen2-Oct-07 10:27 
Questionreturning @@identity [modified] Pin
Dio222-Oct-07 9:15
Dio222-Oct-07 9:15 
AnswerRe: returning @@identity Pin
Guffa2-Oct-07 9:36
Guffa2-Oct-07 9:36 
QuestionYahoo Develope Technology Pin
mehrdadc482-Oct-07 7:31
mehrdadc482-Oct-07 7:31 
QuestionHow to add asp controls to custom control Pin
Sandeep Akhare2-Oct-07 6:35
Sandeep Akhare2-Oct-07 6:35 
AnswerRe: How to add asp controls to custom control Pin
talasila802-Oct-07 10:02
talasila802-Oct-07 10:02 
Questionjavascript to validate radiobutton list Pin
dukuria2-Oct-07 4:52
dukuria2-Oct-07 4:52 
AnswerRe: javascript to validate radiobutton list Pin
Sandeep Akhare2-Oct-07 6:55
Sandeep Akhare2-Oct-07 6:55 
Hi Swarup
Take this javascript function and regisetr it on submit button.
'RadioButtonList1' is the name of radio button list that will be given by asp at runtime so check the name by viewing the source code of yoor html page
register your script in this way
Button1.Attributes.Add("OnClick", "javascript:Checkthis();");
<br />
 <script language="javascript" type="text/javascript"><br />
       <br />
    function Checkthis()<br />
    {<br />
        var radiobuttonlist=document.getElementsByName('RadioButtonList1');<br />
        var flag=0;<br />
        for(var index=0;index<radiobuttonlist.length;index++)<br />
        {<br />
           if(radiobuttonlist[index].checked)<br />
           {<br />
                flag=1;<br />
           }<br />
        }<br />
        <br />
        if(flag==1)<br />
        {<br />
            alert("One is checked");<br />
        }<br />
        else<br />
        {<br />
            alert('none is checked give error');<br />
        }<br />
        <br />
    }<br />
    <br />
 <br />
    </script><br />


Thanks and Regards
Sandeep

If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "




QuestionInstansiating a List(of Double) to nothing or no value Pin
Md Arif2-Oct-07 3:55
Md Arif2-Oct-07 3:55 
AnswerRe: Instansiating a List(of Double) to nothing or no value Pin
kubben2-Oct-07 5:24
kubben2-Oct-07 5:24 
GeneralRe: Instansiating a List(of Double) to nothing or no value Pin
Md Arif2-Oct-07 5:39
Md Arif2-Oct-07 5:39 
GeneralRe: Instansiating a List(of Double) to nothing or no value Pin
kubben2-Oct-07 6:26
kubben2-Oct-07 6:26 
GeneralRe: Instansiating a List(of Double) to nothing or no value Pin
Md Arif2-Oct-07 8:08
Md Arif2-Oct-07 8:08 
AnswerRe: Instansiating a List(of Double) to nothing or no value Pin
Guffa2-Oct-07 7:00
Guffa2-Oct-07 7:00 
GeneralRe: Instansiating a List(of Double) to nothing or no value Pin
Md Arif2-Oct-07 7:30
Md Arif2-Oct-07 7:30 
QuestionHelp with UpdatePanel... Pin
Dio222-Oct-07 2:38
Dio222-Oct-07 2:38 
AnswerRe: Help with UpdatePanel... Pin
kubben2-Oct-07 3:25
kubben2-Oct-07 3:25 
GeneralRe: Help with UpdatePanel... Pin
Dio222-Oct-07 3:37
Dio222-Oct-07 3:37 
GeneralRe: Help with UpdatePanel... Pin
kubben2-Oct-07 3:45
kubben2-Oct-07 3:45 
GeneralRe: Help with UpdatePanel... Pin
Dio222-Oct-07 4:44
Dio222-Oct-07 4:44 
GeneralRe: Help with UpdatePanel... Pin
kubben2-Oct-07 5:22
kubben2-Oct-07 5:22 
Questionhow can I access an iframe from an aspx form Pin
Big Ralph2-Oct-07 1:53
Big Ralph2-Oct-07 1:53 
AnswerRe: how can I access an iframe from an aspx form Pin
N a v a n e e t h2-Oct-07 2:16
N a v a n e e t h2-Oct-07 2:16 
QuestionButtonClick eventhandler for dynamically loaded UserControl fails to catch event. Pin
Larantz2-Oct-07 1:32
Larantz2-Oct-07 1:32 
AnswerRe: ButtonClick eventhandler for dynamically loaded UserControl fails to catch event. Pin
DanB19832-Oct-07 7:42
DanB19832-Oct-07 7:42 

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.