5 Answers, 1 is accepted
0
0
Thomas
Top achievements
Rank 1
answered on 16 Jul 2010, 05:54 PM
Sorry, I accidentily replied to the old thread
I am able to remove the textbox and connect the calendar to the combobox.
The problems are:
The calendar icon is in a dev and puts extra space around it in the GUI.
On startup, the calendar flashes on and then off and the space it took up is not removed,
so there is a big whole in my GUI.
I am able to remove the textbox and connect the calendar to the combobox.
The problems are:
The calendar icon is in a dev and puts extra space around it in the GUI.
On startup, the calendar flashes on and then off and the space it took up is not removed,
so there is a big whole in my GUI.
0
Thomas
Top achievements
Rank 1
answered on 19 Jul 2010, 07:11 PM
Any ETA on this? I need a solution today...
Any help will be appreciated...
Any help will be appreciated...
0
Hello Ron,
You can toggle display property instead of setting control invisible initially:
Greetings,
Nikolay
the Telerik team
You can toggle display property instead of setting control invisible initially:
<
table
>
<
tr
>
<
td
>
<
asp:TextBox
ID
=
"TextBox1"
runat
=
"server"
></
asp:TextBox
>
</
td
>
<
td
>
<
img
src
=
"Calendar.png"
alt
=
"Alternate Text"
onclick
=
"openPopup();"
/>
</
td
>
</
tr
>
</
table
>
<
telerik:RadCalendar
ID
=
"RadCalendar1"
runat
=
"server"
style
=
"display:none"
>
<
ClientEvents
OnDateSelected
=
"OnDateSelected"
/>
</
telerik:RadCalendar
>
<script type=
"text/javascript"
>
function
OnDateSelected(sender, args)
{
var
dt =
new
Date();
//args.get_renderDay().get_date()
}
function
openPopup()
{
var
calendar = $find(
'<%= RadCalendar1.ClientID %>'
);
calendar.get_element().style.display =
""
;
// Read the textbox value and set the Date of Calendar
}
</script>
Greetings,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Thomas
Top achievements
Rank 1
answered on 22 Jul 2010, 12:14 PM
Thanks, this seems to work.
Unfortunately, in the week it took to answer this question, I have already implimented a competitors control that provided a PopupCalendar out of the box. In a fast paced world, a week is a long time...
Unfortunately, in the week it took to answer this question, I have already implimented a competitors control that provided a PopupCalendar out of the box. In a fast paced world, a week is a long time...