Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
98 views
Hello,

I have a Rad Scheduler which we have customized to allow four time slots per day, in order to distinguish these slots we have a customized list next to the calendar displaying labels to help label what slot it is on the scheduler. The problem is that some months such as May have 5 rows displaying on the Scheduler while most months only display 4 rows. Is there a way to limit the number of Rows to just be 4 always. There is enough columns to fit all the days within 4 weeks so I am not sure why the logic is even there to force it to a 5th row. Any help would be greatly appreciated since it would keep me from adding more logic to hide/show extra items on the page depending on the month. Thank you.


-Ryan
Ryan
Top achievements
Rank 1
 asked on 22 Apr 2010
3 answers
212 views
Ive tried the following, but the image is broken when rendered, any advice?  Bonus points if it can render the image from active Skin vs. a preset one.

                    <CommandItemTemplate> 
                        <div style="padding:3px 7px 4px;"> 
                            <asp:ImageButton id="btnAdd" runat="server" ImageUrl='<%= Page.ClientScript.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Outlook.Grid.AddRecord.gif") %>' /> 
                        </div> 
                    </CommandItemTemplate> 

Daniel
Telerik team
 answered on 22 Apr 2010
5 answers
152 views
Hi,
I have one popup page
, which contains RadNumerikTextBox.
I enter some value in it and press tab.

Sometimes my tab not work and the content of RadNumTextbox remains selected.
Along with this does not fires any of javascript related to RadNumTextbox,  if any.

Please give your suggetions. 

With Regards,
Naresh

Pavel
Telerik team
 answered on 22 Apr 2010
9 answers
134 views
I am building a Silverlight RIA business application, and I need to drop in an AJAX RadEditor (since it's much more functional than the Silverlight Editor). Everything works except the RadStyleSheetManager cannot access any resources via WebResource.axd. So I get more or less a blank page. The style background URI is: http://localhost:52662/WebResource.axd?d=o1d...  and the response is emtpy (HTTP 200). I have wasted dozens of hours trying to isolate the problem to no avail. Here are the steps to reproduce the problem:
  1. (Using VS2008 with Silverlight 3, Silverlight Tools, and RIA Web Services SDK's,) Create a new Silverlight Business Application.
  2. Right-click on the BusinessApplication.Web project, and click RadControls For ASP.NET AJAX->Convert to RadControls Web Application. Use all default options.
  3. Right-Click on the BusinessApplication.Web project, and click RadControls For ASP.NET AJAX->Add RadEditor Scenario. Again use all default options.
  4. Compile and Run, then navigate to the newly created RadEditorWebForm.aspx. This page should show the editor with the missing style resources.

Please can someone help!!

Thanks,
Dan
Daniel Walton
Top achievements
Rank 1
 answered on 22 Apr 2010
10 answers
307 views
I have a RadComboBox that is not databound at the server but is set up with WebServiceSettings to allow it to be loaded from the client.  I am using this to load different items depending on the state of other controls on the page, but do not want load on demand functionality, instead I am calling requestItems() from client-side code when I require the items in the list to change:

<telerik:RadComboBox ID="cboCustomer" runat="server" EmptyMessage="Select a customer" MarkFirstMatch="true" OnClientItemsRequesting="cboCustomer_ItemsRequesting"> 
    <WebServiceSettings Path="Services/ComboData.asmx" Method="GetCustomers" /> 
</telerik:RadComboBox> 
 
<script type="text/javascript"> 
    function cboCustomer_ItemsRequesting(sender, eventArgs) { 
        var context = eventArgs.get_context(); 
        context["SelectBy"] = getSelectBy(); 
    } 
</script> 
 

When I then call $find("<%=cboCustomer.ClientID %>").requestItems("", false) the list is populated correctly from my web service, but the empty message disappears.  if I select an item from the list it is displayed with the rcbEmptyMessage css class applied (sometimes multiple times) even though an item is selected.  If I delete the text from the combobox the empty message doesn't reappear.
Eliza Sahoo
Top achievements
Rank 1
 answered on 22 Apr 2010
1 answer
57 views
hello,

we're running Telerik version 2009.3.1314.35, it looks like the color picker doesn't work in Mac Safari 4.0.5 within the editor.  I can't find in the release notes for future versions whether this is fixed or not, but it appears to work on the Telerik Demos.  I'm trying to determine if it's conflicting style sheets or code on our site, or it simply wasn't supported in 2009.3.1314.35

thanks,


thanks
Rumen
Telerik team
 answered on 22 Apr 2010
2 answers
129 views
Trying to bind to a WCF service and I'm getting the message "Error: Sys.ArgumentException: Cannot
deserialize. The data does not correspond to valid JSON".  Saw the post about the HttpHandler possibly being the problem, but I added it via the Smart Tag again and it still doesn't work.  The syntax checker for the web.config is complaining that the required attribute "name" is missing from the tag.  What should the proper handler entry be? 
Larry
Top achievements
Rank 1
 answered on 22 Apr 2010
2 answers
151 views
Anyone who had to work on the Pager localization for a RadGrid must have been confronted with two things:

  1. The advanced pager cannot be localized as easily as the other styles of pagers for the RadGrid : there is no PagerStyle item property that you can set in your aspx file to localize the Labels and Buttons of the advanced pager (like "PagerTextFormat" or "PageSizeLabelText").
  2. You have to access the elements of the advanced pager as described in the following page: http://www.telerik.com/help/aspnet-ajax/grdaccessingdefaultpagerbuttons.html

This is a litle bit anoying, just because Telerik has given us the habit of extreme ease and flexibility, with a lot of properties that are customizable immediateley. But hopefully, accessing the advanced pager items (and localizing them) is simple and well documented (see the URL above.)

But something was missing. The "of" label as used in "Page x of y" is just not documented! After a litle investigation, it was rather easy to discover it, but the thing is that this Label doesn't contain only the word "of" but the page count as well ("of x" embedded in the same Label!)

To fully localize the advanced pager for the RadGrid, and until Telerik gives us the missing properties that would allow us to localize it very easilly, here is the code that can be used (just a sample):
    protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)  
    {  
        //Is it a GridPagerItem  
        if (e.Item is GridPagerItem)  
        {  
            // Localization for the pager has to happen here.  
            Label lblPageSize = (Label)e.Item.FindControl("ChangePageSizeLabel");  
            lblPageSize.Text = "Page size";  
            Label gotoPage = (Label)e.Item.FindControl("GoToPageLabel");  
            gotoPage.Text = "Page";  
            Button gotoButton = (Button)e.Item.FindControl("GoToPageLinkButton");  
            gotoButton.Text = "Go";  
            Button changeButton = (Button)e.Item.FindControl("ChangePageSizeLinkButton");  
            changeButton.Text = "Change";  
            Label pageOfLabel = (Label)e.Item.FindControl("PageOfLabel");  
            pageOfLabel.Text = "of&nbsp;" + (((GridPagerItem)(e.Item))).Paging.PageCount;  
        }  
    }  
 

I just hope that this post helps at least one person out there :)

Francois
Francois MARTIN
Top achievements
Rank 2
 answered on 22 Apr 2010
4 answers
88 views
Hi All,
 I am facing a weird issue with RadWindowManager. When I place this control on a page it generates HTML which contains some unlcosed anchor tags. Please have a look at the HTML here:

<div>
 <a onclick="$find('{0}').close(this.parentNode.parentNode.getElementsByTagName('input')[0].value);"                
      class="rwPopupButton" href="javascript:void(0);" ><span class="rwOuterSpan">
 <span class="rwInnerSpan">
 <a onclick="$find('{0}').close(null);" class="rwPopupButton"  href="javascript:void(0);"><span class="rwOuterSpan">
 <span class="rwInnerSpan">               
</div>

Because of this incorrect HTML IE does not render page correctly(Firefox still works, probably it understands broken HTML)
To do some troubleshooting I developed test application which has only RadWindowManager in a page. In test app it worked fine and I could not reproduce this incorrect behavior in test app. It only happens in my live project.

Can anyone provide me any suggestion on this?

I am attaching complete HTML related to RadWindowManager. Attached file has extension jpg but it's a simple text file. I had to change the extension because site does not allow upload txt files.

Regards
Shrikant
Georgi Tunev
Telerik team
 answered on 22 Apr 2010
3 answers
286 views
Does anyone have any examples of Client-Side Binding with GridTemplateColumn? I have a grid that is linked to a web service. All of my fields update except my template fields. There is a get_cell() that returns a reference to a regular column but not a template one. It almost seems like you have to use all regular columns then manually replace the HTML using javascript. Is there a better way or any examples that might help me? I have lots of places where i have two lines of data in a single field.

Thanks!
Levi
Nikolay Rusev
Telerik team
 answered on 22 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?