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

ASP.NET

 
Questionbuying the rigth MS SQL Edition Pin
orsini4412-Feb-09 4:35
orsini4412-Feb-09 4:35 
AnswerRe: buying the rigth MS SQL Edition Pin
Rutvik Dave12-Feb-09 9:02
professionalRutvik Dave12-Feb-09 9:02 
Questionasp.net Pin
logu07012-Feb-09 4:17
logu07012-Feb-09 4:17 
AnswerRe: asp.net Pin
J4amieC12-Feb-09 5:00
J4amieC12-Feb-09 5:00 
GeneralRe: asp.net Pin
ToddHileHoffer12-Feb-09 8:51
ToddHileHoffer12-Feb-09 8:51 
AnswerRe: asp.net Pin
Abhijit Jana12-Feb-09 6:18
professionalAbhijit Jana12-Feb-09 6:18 
AnswerRe: asp.net Pin
Christian Graus12-Feb-09 12:45
protectorChristian Graus12-Feb-09 12:45 
QuestionPut ValidationGroup for RequiredFieldValidator runtime--urgent Pin
trilokharry12-Feb-09 4:14
trilokharry12-Feb-09 4:14 
Hi I am trying to put ValidationGroup for RequiredFieldValidator in asp.net 2.0 using Javascript method dynamically when ChckBox is checked.
It's working but not affecting.

please find code written bellow:
<script language="javascript" type="text/javascript">
function fun()
{
//rfvReasonForRefundH.ValidationGroup = "NoGroup";
//submit
document.getElementById('<%=rfvReasonForRefundF.ClientID %>').ValidationGroup = "submit";
}
</script>

TextBox with RequiredFieldValidator:
<asp:TextBox ID="txtReasonForRefundF" Columns="25" Rows="2" TextMode="multiLine"
runat="server"></asp:TextBox>
(Multiline textbox)<span style="color:Red">*</span>
<asp:RequiredFieldValidator ID="rfvReasonForRefundF" runat="server" ControlToValidate="txtReasonForRefundF"
Display="None" ErrorMessage="Enter Reason for Refund for Flight" SetFocusOnError="True"></asp:RequiredFieldValidator>

SubmitButton:
<asp:Button ID="btnSubmit" ValidationGroup="submit" Text="Submit" runat="server" OnClick="btnSubmit_Click"></asp:Button>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="true"
ShowSummary="false" ValidationGroup="submit" />

thanks

You get the best out of others when you give the best of yourself.

AnswerRe: Put ValidationGroup for RequiredFieldValidator runtime--urgent Pin
joemonvarghese80@yahoo.co.in12-Feb-09 18:56
joemonvarghese80@yahoo.co.in12-Feb-09 18:56 
Questionscrolling dynamic content on web page Pin
Vignesh Krishnan12-Feb-09 3:44
Vignesh Krishnan12-Feb-09 3:44 
AnswerRe: scrolling dynamic content on web page Pin
Abhijit Jana12-Feb-09 7:27
professionalAbhijit Jana12-Feb-09 7:27 
QuestionGridview DateTime Problem Pin
innocent7312-Feb-09 3:34
innocent7312-Feb-09 3:34 
AnswerRe: Gridview DateTime Problem Pin
Abhijit Jana12-Feb-09 7:28
professionalAbhijit Jana12-Feb-09 7:28 
QuestionRetrieve Unbound column cell data?? Pin
innocent7312-Feb-09 3:31
innocent7312-Feb-09 3:31 
AnswerRe: Retrieve Unbound column cell data?? Pin
ToddHileHoffer12-Feb-09 8:54
ToddHileHoffer12-Feb-09 8:54 
GeneralRe: Retrieve Unbound column cell data?? Pin
innocent7312-Feb-09 9:02
innocent7312-Feb-09 9:02 
GeneralRe: Retrieve Unbound column cell data?? Pin
ToddHileHoffer12-Feb-09 9:26
ToddHileHoffer12-Feb-09 9:26 
QuestionFileUpload Control getting null in [Ajax.AjaxMethod] Pin
DineshSharmain12-Feb-09 3:28
DineshSharmain12-Feb-09 3:28 
QuestionHow to call exe from asp.net website page? Pin
Raheem MA12-Feb-09 1:06
Raheem MA12-Feb-09 1:06 
AnswerRe: How to call exe from asp.net website page? Pin
Paddy Boyd12-Feb-09 1:58
Paddy Boyd12-Feb-09 1:58 
AnswerRe: How to call exe from asp.net website page? Pin
J4amieC12-Feb-09 2:26
J4amieC12-Feb-09 2:26 
QuestionProblem with the Login Control Pin
Vimalsoft(Pty) Ltd12-Feb-09 0:54
professionalVimalsoft(Pty) Ltd12-Feb-09 0:54 
QuestionPlaying Videos using XML Pin
.NET- India 12-Feb-09 0:25
.NET- India 12-Feb-09 0:25 
QuestionMail Pin
kavinnagarajan12-Feb-09 0:14
kavinnagarajan12-Feb-09 0:14 
AnswerRe: Mail Pin
Satish Mahapatra12-Feb-09 1:31
Satish Mahapatra12-Feb-09 1: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.