Click here to Skip to main content
15,915,848 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Authenticate Windows User Pin
Programm3r27-Sep-07 4:13
Programm3r27-Sep-07 4:13 
Questionhow to check selected node child have not same name Pin
Piyush Vardhan Singh27-Sep-07 2:54
Piyush Vardhan Singh27-Sep-07 2:54 
AnswerRe: how to check selected node child have not same name Pin
Sonia Gupta27-Sep-07 3:07
Sonia Gupta27-Sep-07 3:07 
GeneralRe: how to check selected node child have not same name Pin
Malcolm Smart27-Sep-07 4:37
Malcolm Smart27-Sep-07 4:37 
AnswerRe: how to check selected node child have not same name Pin
Malcolm Smart27-Sep-07 4:41
Malcolm Smart27-Sep-07 4:41 
Questionuploading to server Pin
bhattiprolu27-Sep-07 2:52
bhattiprolu27-Sep-07 2:52 
Questioncalendar in popup window Pin
scicorp27-Sep-07 2:31
scicorp27-Sep-07 2:31 
AnswerRe: calendar in popup window Pin
varshavmane27-Sep-07 2:55
varshavmane27-Sep-07 2:55 
Create a form named Calender.aspx which has the following controls:


<asp:Calendar ID="calDate" Runat="server" CellPadding="0" />
<input type="hidden" id="control" runat="server" NAME="control">

Calender.aspx.cs do this:

private void calDate_SelectionChanged(object sender, System.EventArgs e)
{
control.Value = calDate.SelectedDate.ToShortDateString();
Response.Write("<script language='javascript'>window.returnValue='" + calDate.SelectedDate.ToString("dd/MM/yyyy") + "';window.close();</script>");
}


Finally on button on which u have to open Calender.aspx do this:

function PickFromDate()
{
var winSettings = "dialogWidth:300px;dialogHeight:250px; help: no; status: no";
var values = window.showModalDialog('Calender.aspx','cal',winSettings);
if (values)
{
document.all("txtFromDate").value = values;
}
}

<asp:textbox id="txtFromDate" runat="server" CssClass="TextBox" Width="180px"></asp:textbox>

<A onclick="PickFromDate();" href="javascript:;"><IMG class="LinkButton" height="17" alt="Pick Date" src="../Images/icon_calendar.gif" width="25" border="0">

Hope this helps u??
GeneralRe: calendar in popup window Pin
scicorp27-Sep-07 20:39
scicorp27-Sep-07 20:39 
GeneralRe: calendar in popup window Pin
Imran Khan Pathan28-Sep-07 0:12
Imran Khan Pathan28-Sep-07 0:12 
AnswerRe: calendar in popup window Pin
Vasudevan Deepak Kumar27-Sep-07 6:39
Vasudevan Deepak Kumar27-Sep-07 6:39 
Questiondialog box Pin
niki_nilu27-Sep-07 1:58
niki_nilu27-Sep-07 1:58 
AnswerRe: dialog box Pin
Sivan.G27-Sep-07 2:12
Sivan.G27-Sep-07 2:12 
GeneralRe: dialog box Pin
Sam Xavier27-Sep-07 6:19
Sam Xavier27-Sep-07 6:19 
GeneralRe: dialog box Pin
Vasudevan Deepak Kumar27-Sep-07 6:40
Vasudevan Deepak Kumar27-Sep-07 6:40 
GeneralRe: dialog box Pin
Sivan.G27-Sep-07 18:14
Sivan.G27-Sep-07 18:14 
Questioncan i give caption/Title to confirm box in javascript Pin
koolprasad200327-Sep-07 1:48
professionalkoolprasad200327-Sep-07 1:48 
AnswerRe: can i give caption/Title to confirm box in javascript Pin
Sivan.G27-Sep-07 2:02
Sivan.G27-Sep-07 2:02 
AnswerRe: can i give caption/Title to confirm box in javascript Pin
N a v a n e e t h27-Sep-07 2:03
N a v a n e e t h27-Sep-07 2:03 
AnswerRe: can i give caption/Title to confirm box in javascript Pin
Vasudevan Deepak Kumar27-Sep-07 6:43
Vasudevan Deepak Kumar27-Sep-07 6:43 
Questionerror with upload control Pin
MD1227-Sep-07 1:48
MD1227-Sep-07 1:48 
AnswerRe: error with upload control Pin
Paras Kaneriya27-Sep-07 2:12
Paras Kaneriya27-Sep-07 2:12 
GeneralRe: error with upload control Pin
MD1228-Sep-07 22:06
MD1228-Sep-07 22:06 
GeneralRe: error with upload control Pin
MD1228-Sep-07 22:10
MD1228-Sep-07 22:10 
GeneralRe: error with upload control Pin
MD1228-Sep-07 22:15
MD1228-Sep-07 22:15 

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.