Forum  General Visual ...  Visual WebGui v...  Using Telerik RadDateTimePicker inside ASP.NET control wrapper
Previous Previous
 
Next Next
New Post 1/12/2012 1:48 PM
  alexshuv
15 posts
No Ranking


Using Telerik RadDateTimePicker inside ASP.NET control wrapper 

Hello,

I was trying to use a Telerik RadDateTimePicker inside an ASP.NET control wrapper and I came across this problem: can you auto-resize the wrapper as the RadDateTimePicker resizes, that is when we are clicking on the buttons for date or time drop-down portions? So that the wrapper control grows bigger in size or shrinks down every time we "roll down"/"unroll" the RadDateTimePicker's drop-down portions inside of it? I was looking for some events to use for this, but could not find them.

Thanks,

Alex

 
New Post 1/13/2012 8:52 AM
  alexshuv
15 posts
No Ranking


Re: Using Telerik RadDateTimePicker inside ASP.NET control wrapper 

PS Just wanted to add that I haven't found neither any events to do this nor properties. But, if there were a property to autosize the wrapper control to the ASP.NET control it accomodates, as the hosted ASP.NET control changes its size, it would make the wrapper more useful? Because then people could use controls like RadDateTimePicker, that may change their size during their usage, in the same way they can use them without a wrapper? Or maybe there is such a property or a combination of properties?

 

 
New Post 1/14/2012 6:21 AM
  palli
11838 posts
1st Level Poster




Re: Using Telerik RadDateTimePicker inside ASP.NET control wrapper 

Hi Alex,

Try overriding the IsFixedSize property on your wrapper and return True and see if it fixes your problem.

Hope this helps,

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 1/16/2012 11:23 AM
  alexshuv
15 posts
No Ranking


Re: Using Telerik RadDateTimePicker inside ASP.NET control wrapper 

Hi Palli,

Shouldn't IsFixedSize return false in this case?

Thanks,

Alex

 

 
New Post 1/17/2012 8:26 AM
  alexshuv
15 posts
No Ranking


Re: Using Telerik RadDateTimePicker inside ASP.NET control wrapper 

I tried overriding AutoSize, AutoSizeMode and IsFixedSize properties and it did not help. Maybe I need to clear cache or something? Although, it seems these just don't work.

 
Previous Previous
 
Next Next
  Forum  General Visual ...  Visual WebGui v...  Using Telerik RadDateTimePicker inside ASP.NET control wrapper
CompanionKit Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS