Click here to Skip to main content
15,898,010 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Unable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
Steve Holdorf26-Jun-08 2:44
Steve Holdorf26-Jun-08 2:44 
AnswerRe: Unable to set focus to a text box contained in a gridview's row cell after post-back and binding. Pin
boy.pockets25-Jun-08 19:52
boy.pockets25-Jun-08 19:52 
Questionpage navigation Pin
jds120725-Jun-08 8:42
jds120725-Jun-08 8:42 
AnswerRe: page navigation Pin
Zoltan Balazs25-Jun-08 9:57
Zoltan Balazs25-Jun-08 9:57 
QuestionExam questions. Are they wrong or what? Pin
AlexeiXX325-Jun-08 7:45
AlexeiXX325-Jun-08 7:45 
NewsTools to Check Your ASP, ASP.NET Site For SQL Injection Attacks Pin
brucedkyle25-Jun-08 6:06
brucedkyle25-Jun-08 6:06 
GeneralRe: Tools to Check Your ASP, ASP.NET Site For SQL Injection Attacks Pin
Christian Graus25-Jun-08 12:22
protectorChristian Graus25-Jun-08 12:22 
Questionhow come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 5:42
zzsoulzz25-Jun-08 5:42 
form1.aspx


<br />
under html<br />
<script language="javascript" type="text/javascript"><br />
		function calendarPicker(strField)<br />
		{<br />
	window.open('DatePicker.aspx?field=' + strField,'calendarPopup','width=250,height=190,resizable=yes');<br />
	}<br />
		</script><br />
<br />
<a href="javascript:;" onclick="calendarPicker('Form1.txtEventDate');" title="Pick Date from Calendar">pick</a>


for the calenderpicker.aspx
Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles Calendar1.DayRender<br />
    <br />
        e.Cell.Controls.Clear()<br />
<br />
     <br />
        Dim Link As System.Web.UI.HtmlControls.HtmlGenericControl<br />
        Link = New System.Web.UI.HtmlControls.HtmlGenericControl<br />
        Link.TagName = "a"<br />
        Link.InnerText = e.Day.DayNumberText<br />
        Link.Attributes.Add("href", String.Format("JavaScript:window.opener.document.{0}.value = '{1:d}'; window.close();", Request.QueryString("field"), e.Day.Date))<br />
<br />
    <br />
        If e.Day.IsSelected Then<br />
            Link.Attributes.Add("style", Me.Calendar1.SelectedDayStyle.ToString())<br />
        End If<br />
<br />
<br />
        '// Now add our custom link to the page<br />
        e.Cell.Controls.Add(Link)<br />
<br />
    End Sub

AnswerRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 5:45
professionalParwej Ahamad25-Jun-08 5:45 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:03
zzsoulzz25-Jun-08 6:03 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:17
professionalParwej Ahamad25-Jun-08 6:17 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:23
zzsoulzz25-Jun-08 6:23 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:34
professionalParwej Ahamad25-Jun-08 6:34 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 6:39
zzsoulzz25-Jun-08 6:39 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 6:47
professionalParwej Ahamad25-Jun-08 6:47 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 7:09
zzsoulzz25-Jun-08 7:09 
GeneralRe: how come script works in firefox but not ie Pin
Parwej Ahamad25-Jun-08 7:12
professionalParwej Ahamad25-Jun-08 7:12 
GeneralRe: how come script works in firefox but not ie Pin
zzsoulzz25-Jun-08 7:20
zzsoulzz25-Jun-08 7:20 
AnswerRe: how come script works in firefox but not ie Pin
Christian Graus25-Jun-08 12:26
protectorChristian Graus25-Jun-08 12:26 
Questionbutton requires 2 clicks to open a file browser Pin
gottimukkala25-Jun-08 5:28
gottimukkala25-Jun-08 5:28 
AnswerRe: button requires 2 clicks to open a file browser Pin
Parwej Ahamad25-Jun-08 5:37
professionalParwej Ahamad25-Jun-08 5:37 
QuestionCrystal reporting problems in ASP.Net project Pin
Richard Jones25-Jun-08 5:08
Richard Jones25-Jun-08 5:08 
AnswerRe: Crystal reporting problems in ASP.Net project Pin
Parwej Ahamad25-Jun-08 5:17
professionalParwej Ahamad25-Jun-08 5:17 
GeneralRe: Crystal reporting problems in ASP.Net project Pin
Richard Jones25-Jun-08 6:05
Richard Jones25-Jun-08 6:05 
GeneralRe: Crystal reporting problems in ASP.Net project Pin
Parwej Ahamad25-Jun-08 6:26
professionalParwej Ahamad25-Jun-08 6:26 

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.