User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,672 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,257 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 5186 | Replies: 4
Reply
Join Date: Mar 2006
Posts: 84
Reputation: web_developer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
web_developer web_developer is offline Offline
Junior Poster in Training

Help calendar inside datagrid

  #1  
Nov 23rd, 2006
Hey all,

guys I hav to use calendar control in a data grid.. But the events for tha calendar(selection change n others ) are not getting fired...

i am using datagrid_itemcommand and i am searching for the command name but the calendar control doesnt have command name.

how i can catch the calender event and get the select date in a textbox beside the calendar.

sam
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2006
Posts: 2
Reputation: smp is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
smp smp is offline Offline
Newbie Poster

Re: calendar inside datagrid

  #2  
Dec 12th, 2006
hi
i'm also in need of a calendar control in a datagrid urgently
can u please tel me how do u includecalendar in datagrid
thanks in advance
i need it in C# asp.net




Originally Posted by web_developer View Post
Hey all,

guys I hav to use calendar control in a data grid.. But the events for tha calendar(selection change n others ) are not getting fired...

i am using datagrid_itemcommand and i am searching for the command name but the calendar control doesnt have command name.

how i can catch the calender event and get the select date in a textbox beside the calendar.

sam
Reply With Quote  
Join Date: Mar 2006
Posts: 84
Reputation: web_developer is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
web_developer web_developer is offline Offline
Junior Poster in Training

Solution Re: calendar inside datagrid

  #3  
Dec 14th, 2006
dude

i fixed this problem by including a calendar javascript.

u have to add item template in the datagrid then add the calender. if u click on the calender it will set the value in a textbox.

This war is faster and no need to include calendar control.

sam
Reply With Quote  
Join Date: Dec 2006
Posts: 1
Reputation: buitva is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
buitva buitva is offline Offline
Newbie Poster

Re: calendar inside datagrid

  #4  
Dec 22nd, 2006
[quote=smp;288476]hi
i'm also in need of a calendar control in a datagrid urgently
can u please tel me how do u includecalendar in datagrid
thanks in advance
i need it in C# asp.net[/quote



I am also in need of this one. I can get the popup calendar and it did return the selected date in the Control text field "txtEffDate" in EditTemplate but when I try to retrieve using :
Dim EffDate As String = Convert.ToString(CType(e.Item.FindControl("txtEffDate"), TextBox).Text) in the Update proc , it did not give me the datevalue which I saw on the screen? Please someone help me with this , I already spent 2 days on this one already....

Reply With Quote  
Join Date: Dec 2006
Posts: 2
Reputation: smp is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
smp smp is offline Offline
Newbie Poster

Re: calendar inside datagrid

  #5  
Jan 8th, 2007
hi can u tel me how could u catch the selected date from te calendar into the textbox inside grid

Originally Posted by web_developer View Post
dude

i fixed this problem by including a calendar javascript.

u have to add item template in the datagrid then add the calender. if u click on the calender it will set the value in a textbox.

This war is faster and no need to include calendar control.

sam
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:09 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC