|
Thanks Sir
I got solution of my problem.
|
|
|
|
|
Hi to all!
In my aspx page i am having a calendar control,which represents attendance status(either present,absent or leave)of a student.My need is to add a check box at design time to each day of calender control.At runtime i want to check mark as needed.
pls provide me coding to add a check box .
SunithaNallana
|
|
|
|
|
SunithaNallana wrote: pls provide me coding to add a check box .
I really doubt whether this is possible for anyone in this forum with the information you provided. Why don't you google and find a Multi-Select Calender Control on the web which will absolutely save your coding time. But still you will have to spent some time exploring the properties and methods of the component to program it.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi!!
Pls let me know where do i lag behind providing the information.
i have done above said requirement dynamically(at run time) in dayRender event of calender control but that event is getting executed every time the page is loaded that too 30 times(as many number of days in month).So i am trying to add check boxes at design time itself to avoid this looping.
|
|
|
|
|
Are you using built-in ASP.NET Calender Control?
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Yes i have used built in calender control
|
|
|
|
|
Built-In calender control is not template control to add a checkBox or any child control. I don't think this is possible with that. I suggest you to create a your own Calender control with Datalist(Template Control) and CheckBox In the ItemTemplate of the DataList. The other person (Sun Ray) in the disscussion suggested the same.
Either you have to find a calender control on the web which servers your requirement (It's available, Once i worked on similar problem) or you have to write your own control. Apart from these I don't see any other feasible solution to your problem.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Hi,
rather using calander control you can create calander using datalist.
And then in itemTemplate of datalist you can add checkbox.
Now think and try to do it yr own way...
Best of Luck..
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
hi,
I confused with sql database connection state for SqlDataAdapter.Fill() method. SqlDataAdapter retrieve the data from database with closed connection with server exception "Invalid operation ..." but it won’t throw that exception. How it works?.. Plz clear my doubt.
friendly,
ranandbe
|
|
|
|
|
ranandbe wrote: I confused with sql database connection state for SqlDataAdapter.Fill() method
There's no need of any explicit open and close of the Database Connection when you use SQLDataAdapter. SQLDataAdapter will handle that for you. The DataAdapter will implicitly open the connection when it has to retrieve the Data and Close the connection Once it is done.
- Regards - JON Life is not measured by the amount of breaths we take, but by the moments that take our breath away.
|
|
|
|
|
Fill() method automatically open the connection and again disconnect after execution in case connection was not oper prior to execution of Fill() method, In case connection was open you will have close it manually.
|
|
|
|
|
Thanks for your information.
friendly,
ranandbe
|
|
|
|
|
since data adapter works with disconnected architecture....
data adaper opens and close connection automatically
Aswini
|
|
|
|
|
how can i know string between two particular tag in asp.net
|
|
|
|
|
from code behind or from javascript?
|
|
|
|
|
There are many ways to perform it totally depends what is the requirement
you have given very less information to get exact solution
Any way you can do it by using regular expression or
by using string's split method
check that method
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
using split you can define the starting index and number of characters...
of substring
with regular expression , you have to define the expression string format.
so the input string is compared with the expression string format
Aswini
|
|
|
|
|
Hi all,
Can anybody suggest a good ebook,site.. for learning the ajax control toolkit implementation.i mean what is an update panel, timer etc... some samples with code....
|
|
|
|
|
AJAX toolkit comes with a documentation for all the controls. You can see ASP.NET website for more information.
|
|
|
|
|
Hi All,
I Saw many chat samples. But I have many doubts, I created one chat application. In Home page I have link to open a Login window, When I click that the Login window is open,using Window.open method.
But What happened is, the other pages also opened like Login window's height and width. How to ctrl that?
Tell me any suggesition to solve this.
Thanks in advance
|
|
|
|
|
Hi,
pass height and width when you are opening any window.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
Hi Guys I am using vs2003,
I like to show one page contained text in treeview control...,
Actually treeview built tool in vs2005 and windows forms...,
But in vs2003 i like to show some things like that way,
Its possible?,
Have any way is there to show some text in tree view?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
I want to get Local System time using ASP.NET not Server time as i use DateTime.Now it will give server time which i does not required.
|
|
|
|
|
Do you want this info on the server or the client ? I think javascript can get it, but then yuo'd have to put it in a hidden field or use AJAX to send it to the server.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|