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:666366
More Search Options
RSS Available
Matching Posts
Re: Another Custom Validator OnServerValidate Post
Thanks, Pete! I just had my first experience with Ajax and it was a success. I ran into only two pitfalls, both of which I easily found solutions to: had to add HttpHandler section to the web.config and had to change the "asp" prefix to "ajax" in the registration. Still, I managed to set that up in about 20 minutes and it does exactly what I wanted it to do without writing JavaScript. Perfect! Thanks again, Pete!
Posted to
Web Forms
(Forum)
by
AWizardInDallas
on 12/23/2008
Re: Another Custom Validator OnServerValidate Post
Okay so the other validators must have behind-the-scenes built-in JavaScript? I can see where my thinking was (way) off now. Thanks. So instead is there a way to get the result I want with Ajax? I would really like to avoid having to write and maintain a heavy amount of JavaScript for the application or write essentially double the number of validation functions. Alternatively, is there a way to use one Regular Expression Validator with five expressions instead of one? That would work too.
Posted to
Web Forms
(Forum)
by
AWizardInDallas
on 12/22/2008
Another Custom Validator OnServerValidate Post
Hi All, I have a web form that features several server-side validation controls all of which are working fine except one: a custom validator. I've read everything I could find on the CustomValidator and have eliminated all of the common issues with it like the text box being blank, etc. The trouble is that the OnServerValidate sub will only fire only on a button click. I need it to validate like the rest of the controls do: enter a number, tab out of the text box, display a message in red indicating
Posted to
Web Forms
(Forum)
by
AWizardInDallas
on 12/22/2008
Re: Check Box Won't Update - Why?
Input: <asp:Parameter Name="CheckOff" Type="Boolean" DefaultValue="0" /> Error: String was not recognized as a valid Boolean. Input: <asp:Parameter Name="CheckOff" Type="String" DefaultValue="0" /> Error: Syntax error converting the nvarchar value 'True' to a column of data type bit. Input: <asp:Parameter Name="CheckOff" Type="Int16" DefaultValue="0" /> Error: No error. How annoying...
Posted to
Getting Started
(Forum)
by
AWizardInDallas
on 12/11/2006
Re: .NET GridView...I Hate You!
...and now of course I'm having trouble with a stupid checkbox field that will not update and returns: String was not recognized as a valid Boolean. <asp:TemplateField> <HeaderTemplate> <asp:ImageButton ID="Button1" runat="server" OnClientClick="return confirmMsg(this.form)" OnClick="Button1_Click" ImageUrl="~/Images/Update.gif" ImageAlign="Middle" /> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="CheckBox1" runat="server" Checked='<%# container.dataitem("CheckOff
Posted to
Free For All
(Forum)
by
AWizardInDallas
on 12/11/2006
Re: Check Box Won't Update - Why?
Just to confirm I am using SQL Server 2000 and the field is a bit field. However, I'm still getting this conversion error. I would rather not have to add conversion code. Honestly, it should just work and I don't get why it's not. How can I see the actual SQL being sent?
Posted to
Getting Started
(Forum)
by
AWizardInDallas
on 12/11/2006
Re: Check Box Won't Update - Why?
Server Error in '/' Application. String was not recognized as a valid Boolean. No, it's trying to stick the word 'False" or the word 'True' in a bit field. So how do I convert this to show 1 or 0? < asp : CheckBox ID ="CheckBox1" runat ="server" Checked =' <%# container.dataitem("CheckOff") %> ' />
Posted to
Getting Started
(Forum)
by
AWizardInDallas
on 12/10/2006
Re: .NET GridView...I Hate You!
Hi Ben, I kind of agree with me still too. Unfortunately I see no real choice but to stay the course, misguided as it is, with ASP.NET. I have to say that I'm just not all that enthused with the future of products coming from Microsoft in general and I have been an enthusiastic customer since 1990. I'm no longer enthusiastic. At the risk of broadening the discussion, I tried out Windows Vista for about four months and it was a nighmare. I'm so glad to be back on Windows XP. I can't believe the pricing
Posted to
Free For All
(Forum)
by
AWizardInDallas
on 12/10/2006
Check Box Won't Update - Why?
<asp:TemplateField> <HeaderTemplate> <asp:ImageButton ID="Button1" runat="server" OnClientClick="return confirmMsg(this.form)" OnClick="Button1_Click" ImageUrl="~/Images/Update.gif" ImageAlign="Middle" ToolTip="Save"/> </HeaderTemplate> <ItemTemplate> <asp:CheckBox ID="CheckBox1" runat="server" onclick="return check_uncheck (this );" Checked='<%# container.dataitem("CheckOff") %>' /> <asp:Label ID="CheckOff" runat="server" Text='<%# container.dataitem
Posted to
Getting Started
(Forum)
by
AWizardInDallas
on 12/5/2006
Re: .NET GridView...I Hate You!
Okay the alternate SQL statements are working for each drop down. However, I have the GridView's paging turned on and it "forgets" the recordset I'm looking at after it's been filtered. This was the problem: Protected Sub GridView1_PageIndexChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles GridView1.PageIndexChanged If DropDownList1.SelectedIndex = 0 And DropDownList2.SelectedIndex = 0 Then Me .SqlDataSource1.SelectCommand = sSQLDD0 ElseIf DropDownList1.SelectedIndex <>
Posted to
Free For All
(Forum)
by
AWizardInDallas
on 11/30/2006
Page 1 of 7 (69 items) 1
2
3
4
5
Next >
...
Last ยป
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online