Click here to Skip to main content
15,888,080 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

May be my previous question is not so specific so that I didn't get any answer.

I have made a gridview in my aspx page which shows result of students.

I have put calender extender in all columns in edit item template so that the user can change the date.

In the item template I put a label which shows dates from database.

In that gridview's row data bind event I have put code something like if there is some test in that month then only it will shows the date.

I used the command field to edit the date.

Now the problem is when I click the edit link it provides calender for all columns in spite of the pericular rows which have test.

Can any one suggest me how can i do this.
Posted
Comments
Devang Vaja 23-Nov-12 8:24am    
Now the problem is when I click the edit link it provides calender for all columns in spite of the pericular rows which have test????
what is meaning of that...hmm Hiral..!!??
Hiral21 23-Nov-12 8:27am    
Exactly...
Hiral21 23-Nov-12 8:45am    
I don't want calender for all columns.
I just want columns where there are some date.
It can be possible that the date field will be empty too..
So I just want calender for the columns which have date..
Devang Vaja 23-Nov-12 8:52am    
see ajax is client side technology once u have put all calenders in form it will be open always after u put so better option is show only that columns which have date values other columns which have not value hide it..i dont know what's ur logic but i want to tell u one thing that
WE CANT CATCH AJAX OBJECT AT SERVER SIDE
other thing what u can do is make client side event and in that call server side event see this link..
http://forums.asp.net/p/1610663/4116138.aspx
Hiral21 26-Nov-12 6:09am    
Thanks Devang...I solved it..

1 solution

Hey try to do this thing using Hover Menu Extender[^]
 
Share this answer
 
Comments
Hiral21 23-Nov-12 8:29am    
@Krunal R Nice Idea..I must try...It can be helpful..
Thanks..
[no name] 23-Nov-12 8:34am    
Thanks Hiral.. :) Good Luck

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900