Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:865030
More Search Options
RSS Available
Matching Posts
How do i convert IEnumerable<int> to int
i have the following result in IEnumerable<int> empId = from a in empId where a.EMPTypeCode == EMTypeCode.HR select a.Id; how do i cast empid of IEnumerable<int> to int i cant find any suitable method i tried cast but it shows error int a = empId.Cast<int>();
Posted to
C#
(Forum)
by
kchaitanya
on 7/20/2009
Re: Disabling parent page validations
Hi all thanks for your replies i got validation groups for both popups and parent page.. 2 seperate validation groups one for the page as well as for pop up but it is still firing the parent page events ia musing update panels in both parent and popup so r their any know issues with updatepanels using validationgroups
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/16/2009
Disabling parent page validations
hi i have a web page wiht lot of controls and a button when the user clicks the button it brings up a pop so the probelm is if the user doesnot fill the required fields on the page and brings up the pop up and while saving the data in popup it is validating parent page controls required fields so how to ignore those validations when saving data from popup thanks
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/15/2009
Re: Disabling parent page validations
what does causes validations for textbox do i guess i didnot explain my problem properly i got required fields on parent page and required fields on modalpopup.. so user didnot fill parent page required fields . brings up popup by button click .enter's some data and clicks save button on pop up . then it is validating required field controls on parent page .so i dont want validation of paretn page controls when modal pop up save button is clicked i cant say causesvalidations = false on save btn
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/15/2009
Re: Dynamically validating textbox based on dropdown selected value
Hi imran i got more then 3 around 6 out of which 4 r phone and fax remaining we b and email
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/2/2009
Re: Dynamically validating textbox based on dropdown selected value
I got it working thanks all for your help
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/2/2009
Re: Dynamically validating textbox based on dropdown selected value
HI scott thanks for your reply iam doing it in the following way but my expression is always returning false below is my method protected void cusCustom_ServerValidate(object sender, ServerValidateEventArgs e) { string expression = ""; switch (DropDownList1.SelectedValue) { case "Zip Code": expression = @"^(\d{5}-\d{4}|\d{5}|\d{9})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$"; break; case "Email": expression = @"^[01]?[- .]?(\([2-9]\d{2}\)|[2-9]\d{2})[- .]?\d
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/1/2009
how to convert a List<int> to IEnumerable<int>
hi how to convert a List<int> to IEnumerable<int> i got a list of ints i want to convert them into IEnumerable<int> in order to pass it to a method thanks
Posted to
C#
(Forum)
by
kchaitanya
on 7/1/2009
Re: Dynamically validating textbox based on dropdown selected value
My custom validator event is not firing it is inside a update panel am i doing any thing wrong or do i need to set any property <asp:CustomValidator runat="server" id="cusCustom" controltovalidate="TextBox1" onservervalidate="cusCustom_ServerValidate" ErrorMessage="working" /> i tried with a sample app without update panel then it is wroking fine so any thing to do with update panel
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/1/2009
Re: Dynamically validating textbox based on dropdown selected value
hi imran i tried ur code but it is not working below is the way which iam using can u tell em where ia mdoing wrong <script language="javascript" type="text/javascript"> var rgEmail=document.getElementById('<%=RegularExpressionValidatorEmail.ClientID %>'); var rgPhone=document.getElementById('<%=RegularExpressionValidatorPhone.ClientID %>'); var rgSSN=document.getElementById('<%=RegularExpressionValidatorSSN.ClientID %>'); function
Posted to
Web Forms
(Forum)
by
kchaitanya
on 7/1/2009
Page 1 of 3 (23 items) 1
2
3
Next >
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online