|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
textbox onfocus eventHi all,
We are working in an application that must have this textbox property: When a user click on a textbox, the textbox must throw a new aspx window with a Calendar control on it. When the user select the date this new window mut be closed and the date picked must be shown in the textbox. In VB there's no event to do this (onfocus), and we wonder if any knows a way to do this. Thanks.....David You'd need to do this with client-side JavaScript using the onfocus event.
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onfocus.asp Here's a control that does a little of what you want, although it fires on the click event of an image rather than when the textbox gets the focus: http://www.basicdatepicker.com/samples/ Show quoteHide quote "David Perez" <DavidPe***@discussions.microsoft.com> wrote in message news:1C1DB444-5F9E-40D7-A74C-350295E5889E@microsoft.com... > Hi all, > > We are working in an application that must have this textbox property: > > When a user click on a textbox, the textbox must throw a new aspx window > with a Calendar control on it. When the user select the date this new > window > mut be closed and the date picked must be shown in the textbox. > > In VB there's no event to do this (onfocus), and we wonder if any knows a > way to do this. > > Thanks.....David
Protected Shadows With Events.
Page.RegisterClientScriptBlock() is not working ..... :-( dynamic textbox empty string DropDownList with default values Gridview OnPageIndexChanging not firing in beta 2 e.Item.Cells.Count in UpdateCommand event of Datagrid Binding Data to IE Treeview control Style tag access webcontrol Can a User Control display a pdf or static html file? ASP.NET Book Recommendation |
|||||||||||||||||||||||