Click here to Skip to main content
15,891,423 members

Comments by AnthonyGC (Top 6 by date)

AnthonyGC 13-Jul-11 10:21am View    
Ok, any more suggestions? Could I try and work with a page reload fucntion to accomplish this?
AnthonyGC 14-Jun-11 13:45pm View    
Duh. In my defense. English is my 3rd language. lol.

Thanks for the guidance.
AnthonyGC 14-Jun-11 13:35pm View    
so i changed the fields to templates and then did this

' <asp:TemplateField HeaderText="TECHNICIAN" SortExpression="TECHNICIAN">
<edititemtemplate>
<asp:TextBox ID="TextBox11" runat="server" maxlenght='6' Text='<%# Bind("TECHNICIAN") %>'>

<itemtemplate>
<asp:Label ID="Label11" runat="server" Text='<%# Bind("TECHNICIAN") %>'>

"

That still doesnt prevent me from entering more than 6 characters and just errors out when i hit update when i enter 7 characters.
AnthonyGC 14-Jun-11 13:22pm View    
Ah wait. my grid fields weren't converted to template fields yet. Is that what your talking about?
AnthonyGC 14-Jun-11 13:18pm View    
I don't know what your talking about. This si the full page from head to head.

This is the back code page

Partial Class REWTSManage
Inherits System.Web.UI.Page

Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.SelectedIndexChanged

End Sub

End Class

I loaded this page and it works.