what is the difference between int? and int
seema
what is the difference between int? and int
seema
No I didn't implement GetSchema(). I don't know how to implement it. If I say return null; It is not showing any thing
seema
am trying to inherits membership class and implementing IXmlSerializable but it doesn't work. public class SSOMembershipUser : System.Web.Security.MembershipUser ,IXmlSerializable 'SSO.Security.SSOMembershipUser' does not implement interface member 'System.Xml.Serialization.IXmlSerializable.GetSchema()'
seema
I am trying to inherits membership class and implementing IXmlSerializable but it doesn't work. public class SSOMembershipUser : System.Web.Security.MembershipUser ,IXmlSerializable 'SSO.Security.SSOMembershipUser' does not implement interface member 'System.Xml.Serialization.IXmlSerializable.GetSchema()'
seema
The ReturnUrl is: /Client/Admin.aspx Now I want to go to admin.aspx page. My following code doesn't work Response.Redirect(Request.QueryString["ReturnUrl"]);
seema
what is token
seema
I have a text box. It's input should be integer. I want to validate this text box so that it's value should be integer. What validation control shouuld I use.
seema
I have a grid view. In that gridview I have somecheck boxes in EditItemTemplate. I need to validate those check boxes. I am using customValidate controls and java script to validate check boxes. but it gives me error message that IsActiveCheckBox is not found in current context. Mat be checkbox is in EditItemTemplate field. I am not sure. How can I fix this. e'g function ValidateIsActiveCs(source, args) { args.IsValid = document.getElementById('<%=IsActiveCheckBox.ClientID %>').checked; } <asp:CheckBox ID="IsActiveCheckBox" runat="server" Checked='<%# Bind("MyColumn") %>' /> <asp:CustomValidator ID="cvlIsActive" runat="server" ClientValidationFunction="ValidateIsActiveCs" ErrorMessage="This field should be checked">*</asp:CustomValidator></td> <div class="ForumSig">seema</div></x-turndown>
I'm having a problem which I thought would be a very simple thing but is > > turning out to be a difficult challenge. I have a web form with several input > > fields and I have a single checkbox, not a checkbox list. Before the form can > > be submitted I want to require that the checkbox be checked. Sounds simple > > but non of the validation controls seem to work correct for this, or maybe > > I'm just not using them correctly. I have done several searches but I can't > > seem to find any examples of this type of thing being done. Which is very > > surprising because this sort of checkbox is a very common thing. i.e. "I > > agree to the terms....." Can anyone point me to an example? I'm using ASP.NET > > 2.0 Thanks
seema
My following code is not working I have a gridview that contains a linkButton in a template field. I want to set the visibility of the linkbutton based on a int field in a database. Selecting the proper field in editbindings gives this in the code Remove All
(where UserCnt is int field in my database) This generates the following error. 'int' does not contain a definition for 'parse'
seema
I want to create a namespace. I don't know how to do it. I add a class in my project. Should I add keyword namespace myNmaspace to it. or how can I do it. I want three files myNmaespace.fileA myNmaespace.fileB myNmaespace.fileC Where fileA.ca, fileB.cs,fileC.cs are my Classfiles.
seema
I have a string bobby@yahoo.com (Bobby Gill) I want to parse it and want to get the substring "bobby@yahoo.com" before space. Could you please give me code. thanks
seema
have a AutoCompleteExtender and I bound it to a textbox. It is the list of all email address and last name and first name nMultani@dov.gc.ca (nancy Multani) bGill@dov.gc.ca (babay Gill) I want to validate this text box. I want to create new validation control the text box I type only that item which appear in drop down list or select valid item or type whole string. How can I do that.
seema
I have a textBox Where I type date. I want to validate it. Im using customValidate controls. I have this function in my code behind page void DatesValidate(object source, ServerValidateEventArgs e) { if (Convert.ToDateTime(e.Value) <= DateTime.Now) { e.IsValid = false; this.lblAddUsers.Text = "The Proxy is already expired"; } } It is not working it is giving the follo2ing error 'Proxy.DatesValidate(object, System.Web.UI.WebControls.ServerValidateEventArgs)' is inaccessible due to its protection level
seema
I have a textBox Where I type date. I want to validate it. Im using customValidate controls. I have this function in my code behind page void DatesValidate(object source, ServerValidateEventArgs e) { if (Convert.ToDateTime(e.Value) <= DateTime.Now) { e.IsValid = false; this.lblAddUsers.Text = "The Proxy is already expired"; } } It is not working it is giving the follo2ing error 'Proxy.DatesValidate(object, System.Web.UI.WebControls.ServerValidateEventArgs)' is inaccessible due to its protection level
seema
Hi, I have a asp pase. I have one text box, txtName, txtStartDate, txtEndDate. and a button Submit.I have a grid view hand it has edit, delete and cancel buttons. I want to validate my page. I have three RequiredValidation controls for three text boxes. I want that error message should only appear when I click on button. But when I click on some where in grid view or when I select any row in grid view it should not show error message. Thanks.
seema
I have a drop down list in my asp page. when I selectg an irem and click on a button it appears in the Grid view. But when I again come to the same page and click on the same item from Drop down list it and click on button it again add the same item onin the Grid view. So I need some validatiobn that if this item appears in Grid view Don't add in the Grid view. I can use customValidation control. But I don't know how to use it.
seema
Hi All, I have a Gridview in my asp page. In first bound column I have Id field. I want this column to be invisible in Gridview but when I selecyt the row i should be able to get the value of that cell. I set the Column property Visible = False. and in my code behind page GridViewRow grow = gdProxy.Rows[gdProxy.EditIndex]; int proxyId = Convert.ToInt32(grow.Cells[0].Text); But it doesn't work but if I set Visible + true It works. But I don't want this column to be visible in my grid view but want to get the value of cell.
seema
could you please send me the code
seema
I have a dropdown list. It has following items admin@sam.ca.gov Admin Miller bobby@sam.ca.gov Bobby Gill chris@sam.ca.gov chris Ghai jim@sam.ca.gov Jim Ghotra Here each item represent email address and his first name and last name. I need to select an item from drop down list and grab only email ID when I click on a button. The domain of email is always same. i.e @sam.ca.gov is always same for all users. Thanks in advance
seema