Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
308 views
I'm having some issues with the datepicker in a radwindow

1) does the EnableScreenBoundaryDetection work for RadWindow instances as well as browser window instances?

2) I have also tried to set EnableScreenBoundaryDetection to "false" and set the PopupDirection value to TopRight. The datepicker always pops up in the same place.. right below the dateinput. In the end, I can make my dialog larger toaccomodate the datepicker, but I would prefer not to have to.

Here is my markup:

<

 

telerik:RadDatePicker ID="rdpDate" runat="server" Width="100px" DateInput-DateFormat="MM/dd/yyyy" style="vertical-align:middle;z-index:20000" EnableScreenBoundaryDetection="true"></telerik:RadDatePicker>

My Rad Window Z-index is set to 7500.

Attached is what this looks like:

 

Galin
Telerik team
 answered on 22 Feb 2012
3 answers
291 views
Hi,

I have one RadPanelBar on my page. My requirement is to add or remove RadPaneItem dynamically on check change of one checkboxlist. There is a User control with multiple radgrids to load inside every RadPanelItem. Check chenge of checkboxlist will be handled at client side and there will be an ajax call to add RadPanelItem with Usercontrol inside. Now my problem is I am unable to add Ajax response of new RadPanelItem in RadPanelBar. 

I am working on version: Asp.Net Ajax Q3 2011
Telerik.Web.UI Version 2011.3.1115.40
Runtime version v4.0.30319
Asp.net 4.0

Please find attached image and code for batter understanding.

Regards,
Ankit
Kate
Telerik team
 answered on 22 Feb 2012
3 answers
153 views
Hi,

I am using AsyncUpload and have set the MaxFileSize property to 20mb, now I want to validate the filesize and display an error message next to the contol. to check the filesize. The control shows red dot next to file saying that validation failed but I would like to display a custom error message. Is it possible?

Thanks,
Raji
Dimitar Terziev
Telerik team
 answered on 22 Feb 2012
3 answers
302 views
I am using the radeditor in one of my screens and currently I have the tools as dropdowns. One dropdown has the possibility of having too many values. It will be difficult for the user to go through the entire list to find his item. So, I was thinking about using a type ahead combo box in the tools instead of the dropdown. I looked around and couldn't find anything similar. Please let me know if it is possible to replace the dropdowns with typeahead combos and if it is, please give me some sample code to accomplish that.

Thank you,
Vithiya
Rumen
Telerik team
 answered on 22 Feb 2012
1 answer
206 views

Hi,

I have a question regarding client side binding. I think I am missing something here but can't find any information on how to properly do this from the documentation. Anyhow, I am using json object to bind to the grid as my datasource. I have no problem binding this to the grid. I tried it with a default grid without any settings and it works like a charm. The problem i get is when I tried to do paging. I put PageSize="2" and AllowPaging="True" as seen below and it simply doesn't work. In my example below I have 6 items, it always shows 6 items in the grid even with the page size set to 2. The paging icons below the grid seems to show the right numbers though based on the row count I declared. (mtv.set_virtualItemCount(msg.length);)


To add to that, when I try to click the next page (or any paging button), the grid just disappears.

A simple example like this that works would be very helpful.

//javscript

function bindGrid(){
var msg = [{ "ID": 1, "Text": "Text1" }, { "ID": 2, "Text": "Text2"}, 
   { "ID": 3, "Text": "Text3"}{ "ID": 4, "Text": "Text4"}
   { "ID": 5, "Text": "Text3"}{ "ID": 6, "Text": "Text6"} 
]

var grid = $find("<%=  RadGrid1.ClientID %>")
var mtv = grid.get_masterTableView();
        mtv.set_dataSource(msg);
        mtv.dataBind();          
        mtv.set_virtualItemCount(msg.length);

} 

<
telerik:RadGrid ID="RadGrid1" runat="server" >               
<
mastertableview PageSize="2" AllowPaging="true" >                   
<
Columns>                       
<
telerik:GridBoundColumn DataField="ID" HeaderText="ID" />
                        <telerik:GridBoundColumn DataField="Text" HeaderText="DocName" />
                </Columns>               
</
mastertableview><br>               
<
clientsettings>                   
<
ClientEvents  OnCommand=function(){} />               
</
clientsettings>
</
telerik:RadGrid>
Tsvetina
Telerik team
 answered on 22 Feb 2012
1 answer
111 views
I have an RadAsyncUpload on a page which works fine. One of our customers have decided to have a page with jQuery Tools tab (demo here) and then have the RadAsyncUpload in the content of one of the tabs (which actually is plain divs). I tried this, but no matter what I do the RadAsyncUpload does not show. If I put it outside the jQuery tabs, it works as normal. Any one have a workaround for this?
Genady Sergeev
Telerik team
 answered on 22 Feb 2012
1 answer
115 views
I am using the latest versions of the Telerik controls.

I have an aspx page (customers) on which I have a data grid which has an edit form setup tied to a user control. This works fine and I can edit individual customer items in the grid using the usercontrol and I can also add new customer items using the command item event.

On that customer item user control I have another radgrid which shows products that custom bought and I want to add new products and edit existing products again using a user control.

I setup the grid and user controls but when I try and add a new product to the inner grid nothing happens.

Any ideas?
Andrey
Telerik team
 answered on 22 Feb 2012
3 answers
182 views
hi

I am not able to get the select value when settting for new appointment while your demo is able to do so. How should i go about it? Thanks

I have attach 2 screenshot.

Capture.jpg is my screenshot
Capture2.jpg is your working demo
Plamen
Telerik team
 answered on 22 Feb 2012
2 answers
87 views
HI,

I have been asked to upgrade a web application to RadControls ASP.NET AJAX Q3 2011 from Telerik ASP.NET Q3 2007  ( I know !!!!) . I am using a master page, dev language is c# and am targetting .net 4 framework.

I have ran the upgrade wizard and emoved all reference to previous Telerik versions,

Problem is I get the following error when launching master page "Using themed css files requires a header control on the page." ( I'm not using a themed css as far as I can see )....
When I add runat="server" to the master page I get the following error when I launch a page containing RadGrid "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."

so I am in a vicious circle !!!

I searched all forum but the answers always relate to .NET 2.0...

Any suggestions on this?

Thanks so much in advance,
John
John McNamara
Top achievements
Rank 1
 answered on 22 Feb 2012
0 answers
151 views
Hi all,
I am using the Entity Framework and everything is working fine. (According to this Demo)
Now I want to expand my application,  I want to change the radgrid's datasource when I click on a button I set in my form.
And of course it should be possible to edit/update the radgrid with the other datasource. (This should all be made in the codebehind)

Can somebody help me please?
Thanks,
esmyy
esmyy
Top achievements
Rank 1
 asked on 22 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?