Click here to Skip to main content
15,913,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralThank you Again Pin
Jay_se21-Aug-06 3:08
Jay_se21-Aug-06 3:08 
QuestionSession.sessionID Pin
meghs11118-Aug-06 21:23
meghs11118-Aug-06 21:23 
AnswerRe: Session.sessionID Pin
Coding C#18-Aug-06 21:39
Coding C#18-Aug-06 21:39 
Questioncontext menu using javascript Pin
248912818-Aug-06 20:37
248912818-Aug-06 20:37 
AnswerRe: context menu using javascript Pin
Sathesh Sakthivel18-Aug-06 21:14
Sathesh Sakthivel18-Aug-06 21:14 
QuestionA problem with Cross Page Posting in ASP.NET Webpages Pin
Hussein Madani Ghomi18-Aug-06 20:02
Hussein Madani Ghomi18-Aug-06 20:02 
AnswerRe: A problem with Cross Page Posting in ASP.NET Webpages Pin
Sathesh Sakthivel18-Aug-06 21:21
Sathesh Sakthivel18-Aug-06 21:21 
QuestionHow to validate a textbox inside the datagrid [modified] Pin
kavithapuranik18-Aug-06 19:24
kavithapuranik18-Aug-06 19:24 
hello all,

i have a datagrid,in the footer template textbox,i want to do decimal validation for the textbox,i have a javascript which does decimal validation,but when i call the javascript in the itemcreated property of the data grid and use attributes.add to call javascript ,the js function is not getting fired,its something like this,
<br />
Try<br />
<br />
            If e.Item.ItemType = ListItemType.AlternatingItem Or e.Item.ItemType = ListItemType.Item Then<br />
                e.Item.Attributes.Add("onblur", " return CheckDecimal(this);")<br />
            End If<br />
<br />
        Catch ex As Exception<br />
            lblmesg.Visible = True<br />
            lblmesg.Text = "Error : " & ex.Message<br />
        End Try<br />

i even tried one more method
<br />
   Dim tempmin As TextBox = CType(e.Item.FindControl("txtmintemp"), TextBox)<br />
                tempmin.Attributes.Add("Onblur", "javascript:CheckDecimal(this);")<br />


but the js function is not getting fired,is ther any other method,or what is the error in the above code,

pls anyone help me



Regards
kavitha


-- modified at 1:24 Saturday 19th August, 2006
AnswerRe: How to validate a textbox inside the datagrid Pin
coolestCoder18-Aug-06 20:09
coolestCoder18-Aug-06 20:09 
QuestionAutosave using Ajax in every 10 sec. Pin
Amit Agarrwal18-Aug-06 18:59
Amit Agarrwal18-Aug-06 18:59 
AnswerRe: Autosave using Ajax in every 10 sec. Pin
HRiazi19-Aug-06 1:14
HRiazi19-Aug-06 1:14 
GeneralRe: Autosave using Ajax in every 10 sec. Pin
Amit Agarrwal19-Aug-06 1:45
Amit Agarrwal19-Aug-06 1:45 
GeneralRe: Autosave using Ajax in every 10 sec. Pin
HRiazi19-Aug-06 5:55
HRiazi19-Aug-06 5:55 
Questioninsert sound into sqlserver Pin
suri8318-Aug-06 11:32
suri8318-Aug-06 11:32 
AnswerRe: insert sound into sqlserver Pin
Guffa18-Aug-06 12:19
Guffa18-Aug-06 12:19 
AnswerRe: insert sound into sqlserver Pin
coolestCoder18-Aug-06 20:17
coolestCoder18-Aug-06 20:17 
QuestionASP.NET v.2 code behind Pin
Gary Hyslop at home18-Aug-06 11:16
Gary Hyslop at home18-Aug-06 11:16 
AnswerRe: ASP.NET v.2 code behind Pin
Brent Lamborn18-Aug-06 11:49
Brent Lamborn18-Aug-06 11:49 
GeneralRe: ASP.NET v.2 code behind Pin
Gary Hyslop at home18-Aug-06 13:27
Gary Hyslop at home18-Aug-06 13:27 
GeneralRe: ASP.NET v.2 code behind Pin
Brent Lamborn21-Aug-06 3:25
Brent Lamborn21-Aug-06 3:25 
QuestionGridview ClientSide column add and remove Pin
GaryT8018-Aug-06 10:11
GaryT8018-Aug-06 10:11 
AnswerRe: Gridview ClientSide column add and remove Pin
Mike Ellison18-Aug-06 10:47
Mike Ellison18-Aug-06 10:47 
GeneralRe: Gridview ClientSide column add and remove Pin
GaryT8021-Aug-06 12:10
GaryT8021-Aug-06 12:10 
QuestionGridview Searching and Filtering Pin
GaryT8018-Aug-06 10:09
GaryT8018-Aug-06 10:09 
AnswerRe: Gridview Searching and Filtering [modified] Pin
Brent Lamborn18-Aug-06 12:03
Brent Lamborn18-Aug-06 12:03 

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.