Click here to Skip to main content
15,916,462 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Form mail or Feedback form on ASP Net ... stuck Pin
Christian Graus13-May-07 23:26
protectorChristian Graus13-May-07 23:26 
GeneralRe: Form mail or Feedback form on ASP Net ... stuck Pin
adamkoss13-May-07 23:41
adamkoss13-May-07 23:41 
GeneralRe: Form mail or Feedback form on ASP Net ... stuck Pin
Christian Graus14-May-07 1:04
protectorChristian Graus14-May-07 1:04 
QuestionWorking with Oracle and MS SQL Pin
Sathiyaraj Ganesan13-May-07 23:08
Sathiyaraj Ganesan13-May-07 23:08 
AnswerRe: Working with Oracle and MS SQL Pin
Christian Graus13-May-07 23:28
protectorChristian Graus13-May-07 23:28 
GeneralRe: Working with Oracle and MS SQL Pin
Sathiyaraj Ganesan14-May-07 2:50
Sathiyaraj Ganesan14-May-07 2:50 
QuestionSending Email on a specified date Pin
Rahul Babu13-May-07 22:35
Rahul Babu13-May-07 22:35 
AnswerRe: Sending Email on a specified date Pin
Sathesh Sakthivel13-May-07 22:53
Sathesh Sakthivel13-May-07 22:53 
Hey go with the Calender control or fix the date with the drop downlist.

When the user clicks a link in the Calendar control, instead of the normal processing that submits the form and selects the clicked day, I want the custom JavaScript procedure to be invoked. By default, all the links rendered by the Calendar control generate a postback to the server. What I want instead is for them to point to the custom SetDate procedure. Changing the default output for the table cells that contain the day links is pretty easy thanks to the Calendar's DayRender event, which is raised every time a day is rendered and which provides a reference to the table cell being created. The following code snippet replaces the default cell's content with my own hyperlink control, which has the same text but points to the JavaScript procedure:

Private Sub DatePicker_DayRender(...) Handles DatePicker.DayRender<br />
    Dim hl As New HyperLink()<br />
    hl.Text = CType(e.Cell.Controls(0), LiteralControl).Text<br />
    hl.NavigateUrl = "javascript:SetDate('" & _<br />
        e.Day.Date.ToShortDateString() & "');"<br />
    e.Cell.Controls.Clear()<br />
    e.Cell.Controls.Add(hl)<br />
End Sub<br />
<br />


Regards,

Satips.

QuestionRe: Sending Email on a specified date Pin
badgrs14-May-07 3:20
badgrs14-May-07 3:20 
AnswerRe: Sending Email on a specified date Pin
N a v a n e e t h15-May-07 18:42
N a v a n e e t h15-May-07 18:42 
QuestionAsynchronous calls B/W two .NET objects Pin
Sathiyaraj Ganesan13-May-07 22:15
Sathiyaraj Ganesan13-May-07 22:15 
AnswerRe: Asynchronous calls B/W two .NET objects Pin
Sathesh Sakthivel13-May-07 22:56
Sathesh Sakthivel13-May-07 22:56 
GeneralRe: Asynchronous calls B/W two .NET objects Pin
badgrs14-May-07 3:25
badgrs14-May-07 3:25 
QuestionWinNT 2003 Server problem. [modified] Pin
thomasa13-May-07 22:12
thomasa13-May-07 22:12 
QuestionHow do I access My Project's properties?? Pin
Nada Adel13-May-07 22:04
Nada Adel13-May-07 22:04 
AnswerRe: How do I access My Project's properties?? Pin
Blumen14-May-07 20:57
Blumen14-May-07 20:57 
QuestionReport Viewer Error, Plz help Pin
imshally8113-May-07 21:39
imshally8113-May-07 21:39 
AnswerRe: Report Viewer Error, Plz help Pin
Sathesh Sakthivel13-May-07 23:01
Sathesh Sakthivel13-May-07 23:01 
Questiondisable going to previous page after using response.redirect to transfer values [modified] Pin
Milan_Croatia13-May-07 21:02
Milan_Croatia13-May-07 21:02 
AnswerRe: disable going to previous page after using response.redirect to transfer values Pin
Christian Graus13-May-07 23:30
protectorChristian Graus13-May-07 23:30 
GeneralRe: disable going to previous page after using response.redirect to transfer values Pin
Milan_Croatia13-May-07 23:58
Milan_Croatia13-May-07 23:58 
QuestionPurpose and use of the App_data folder Pin
steve_rm13-May-07 20:34
steve_rm13-May-07 20:34 
AnswerRe: Purpose and use of the App_data folder Pin
Christian Graus13-May-07 23:31
protectorChristian Graus13-May-07 23:31 
QuestionUsing master page having hyperlink in it Pin
deep713-May-07 20:23
deep713-May-07 20:23 
AnswerRe: Using master page having hyperlink in it Pin
Sherin Iranimose13-May-07 22:33
Sherin Iranimose13-May-07 22:33 

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.