Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
131 views
The OrgChart would fill a need I have for a tree-type diagram but I would like to have 3 different types of boxes represented based on some attribute I can supply.  Is this possible or do all boxes have to look the same?  I can't tell from looking at the online info/demos.

Also, are there any limitations as to number of nodes or levels of the chart?
Peter Filipov
Telerik team
 answered on 20 Dec 2011
2 answers
140 views
I have an application with various pages with RadGrids each of which uses various column types. The application works perfectly on my local (IIS7) development environment. However when I deploy it to an (IIS6) staging environment, whenever I use any of the column filters, on any of the grids, I get the following error:

[InvalidCastException: Unable to cast object of type 'ASP.site_master' to type 'Telerik.Web.UI.GridTableView'.] Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +1668 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

All the pages in the site do use a master page, but as I mentioned, the same application works correctly in the development environment. The most obvious difference between the two environments is the version of IIS, though there is nothing concrete to suggest that this is the cause.

Any ideas, please?
Martin
Telerik team
 answered on 20 Dec 2011
11 answers
685 views
Hai All,

       I have created radgrid and binded with dynamic columns from a datatable. I created even the edit column dynamically.But while clicking on edit i am getting this error."An Error has Occured because a control with id 'rgschedulegrid$ct100$ct104$EditButton' Could not be located or a different controls is assigned to the same ID after postback .If the ID is not assigned ,explicitly set the ID property of the controls that raise postback events to avoid this error"


Thanks & Regards,
Imthiyas Ahamed.A
Andrey
Telerik team
 answered on 20 Dec 2011
2 answers
78 views
I have three checkbox in the one row of the grid.What I wanna is to select other two checkboxes when I select first checkbox. How can I do that? 
by the way,I create checkboxes shown below. 

<telerik:GridTemplateColumn UniqueName="rSelect">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkSelect" runat="server" AutoPostBack="true" OnCheckedChanged="chkSelect_OnCheckedChanged" />
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
Emre
Top achievements
Rank 1
 answered on 20 Dec 2011
6 answers
445 views
I have a radmenu in a usercontrol that gets repeated on several pages.  
Sometimes, when a menu expands the second menu gets hidden behind another instance of the user control. 

Obviously, this is a z-index issue.  But I haven't been able to find a place to change the style to avoid this from happening.

I've attached an image of what's going on.
Kate
Telerik team
 answered on 20 Dec 2011
0 answers
114 views
Hi,

In our Project we are using trial version of telrik dll , acutually same dll is used on 3 machines. The problem is that sometimes any functionality works and some times not , I am enlisting following scenarios :

1. Pagination is only half visible , although it's functionality is working
2. Header Style colour is not getting applied on whole header section
3.Sometimes Expand/collpase functions do not work , sometimes they work.
4. ItemCommand Of Rad Grid was not working earlier but now it is working now.

I want to ask if this abnormal behaviour of telrik controls is happening because same dll is shared among 3 machines or it is happening due to any other reason.

Kindly relpy as soon as possible.

Thanks,
Bhupendra
Bhupendra
Top achievements
Rank 1
 asked on 20 Dec 2011
2 answers
102 views
Hi...
 
       I have attached two screenshots.. The first screenshot, the whole page is a grid and when the user click the Add button in the grid, it should open a new child control in the same page as shown in the second screeshot..  
Swetha
Top achievements
Rank 1
 answered on 20 Dec 2011
1 answer
163 views
In javascript, I'm using .findButtonByValue('value').

However, how do I find a split button, especially since there's no 'value' property of the SplitButton?

Thanks,
Joshua
Bozhidar
Telerik team
 answered on 20 Dec 2011
1 answer
82 views

 

Hi,

If I try to emit javascript in a EditTemplate column with the Radgrid inside a RadAjaxPanel, the javascript never executes, is completed ignored. If the RadAjaxPanel is removed, when the grid enters in edit mode the javascript runs correctly. (I have tested this in I.E 9)

Is it missing some additional configuration?

example:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  </telerik:RadScriptManager>
  <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="NotSet">
      <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" CellSpacing="0"
          GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource" OnUpdateCommand="RadGrid1_UpdateCommand">
          <ClientSettings AllowExpandCollapse="true">
              <Selecting AllowRowSelect="true" />
          </ClientSettings>
          <MasterTableView>
              <Columns>
                  <telerik:GridEditCommandColumn ButtonType="ImageButton" />
                  <telerik:GridTemplateColumn HeaderText="Test" UniqueName="TemplateColumn">
                      <ItemTemplate>
                          <asp:Label ID="Label1" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                      </ItemTemplate>
                      <EditItemTemplate>
                          <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                          <script type="text/javascript">
                              alert('Started Edit mode');
                          </script>
                      </EditItemTemplate>
                  </telerik:GridTemplateColumn>
              </Columns>
          </MasterTableView>
      </telerik:RadGrid>
  </telerik:RadAjaxPanel>

 

Best Regards
Ricardo Rocha

Ric
Top achievements
Rank 1
 answered on 20 Dec 2011
1 answer
132 views
Hi,

I have AyncUpload control on the page.
<telerik:RadAsyncUpload MaxFileInputsCount="1" MaxFileSize="2097152" AllowedFileExtensions="bmp,jpg,jpeg,gif,png"
                                    ID="ImageAsyncUpload" OnFileUploaded="PhotoUploaded" TargetFolder="~/Test" OnClientFileUploadFailed="OnPhotoUploadFailed"
                                    OnClientFileSelected="OnPhotoSelected" OnClientValidationFailed="PhotoValidationFailed"
                                    OnClientFileUploaded="OnPhotoUploaded" runat="server">
</telerik:RadAsyncUpload>
When I remove it, all my jQuery functions work properly.
When I add it I get the error message: '.something is not a function', e.g. '.tabs is not a function'.
function pageLoad() {
$(".popup-wizard #tabs").tabs();
}

When I remove this definition, I get next error of the next line of code in this js file.
$(".datepicker").datepicker is not a function

/**///dtpicker
    $(".datepicker").datepicker({
        showOn: "button",
        buttonImage: "/assets/img/icon-calendar-small.gif",
        buttonImageOnly: true,
        buttonText: 'Pick a date',
        showOtherMonths: true,
        dateFormat: 'dd/mm/yy',
        firstDay: 1
    });

I try to copy my jQuery code to different places, and the result is the same.

Is it known issue?
Beata Green
Top achievements
Rank 1
 answered on 20 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?