Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
72 views
I have asp.net application and i have master page and i already using update panel but after clicking on menu whole page become white and then new page come.i want only content of page to be change how i do this can any one help me?
Pradip
Top achievements
Rank 1
 asked on 28 Jun 2013
1 answer
130 views
Hi 

I want to do some javascript validation while expanding EditForm.Is there an event like client-load  for EditForm?

Many thanks in advance.

Bill


Princy
Top achievements
Rank 2
 answered on 28 Jun 2013
5 answers
178 views
When I create a row that has a hyper link in it and hover over the link, the row no longer has the hover style enabled. Please help. Below is an example of a column in the grid that will cause the issue.

<telerik:GridTemplateColumn HeaderText="Links">
                                <ItemTemplate>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td valign="middle" style="width:15px;">
                                                <asp:HyperLink ID="imgLink" runat="server" NavigateUrl="<%# bind('URL') %>">
                                                    <img alt="<%# eval("LinkName") %>" src="<%# eval("ImageURL") %>" border="0" /></asp:HyperLink>
                                            </td>
                                            <td valign="middle">
                                                <asp:HyperLink runat="server" ID="txtLink" NavigateUrl="<%# bind('URL') %>">
                                                    <%#Eval("LinkName")%></asp:HyperLink>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
Princy
Top achievements
Rank 2
 answered on 28 Jun 2013
3 answers
163 views
Hi

Error 1. ComboBox Text is overlapping
Error 2. ComboBox Selecting Node Missing (When clicking "Edit" it willnot render theNode But when we click "Add" it is showing node)
Only in IE (Internet Explorer). Checked Version IE8.

Please refer the attached Screen Shot.
Vargis
Top achievements
Rank 2
 answered on 28 Jun 2013
1 answer
165 views
Ever since I upgraded to Q1 2013, I have been unable to retrieve the checked rows in my grid.  This exact code below worked fine before, but not does not retrieve the record ID's - any ideas why?

Here is the checkbox column in the grid (and yes, I have datakeynames="record,email" and clientdatakeynames="record": 

<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn">
            <HeaderTemplate>
                <asp:CheckBox ID="cl" onclick="return check_uncheck (this );" runat="server" />
            </HeaderTemplate>
            <ItemTemplate>
                <asp:CheckBox ID="chk_record" onclick="return check_uncheck (this );" runat="server" />
            </ItemTemplate>
        </telerik:GridTemplateColumn>


Here is the code I to retrieve the record ID's on a button click:

Dim recArray As String = String.Empty
      For Each item As GridDataItem In grid_applications.MasterTableView.Items
          Dim chk As CheckBox = DirectCast(item.FindControl("chk_record"), CheckBox)
          If chk.Checked Then recArray += item("record").Text & ","
      Next
Princy
Top achievements
Rank 2
 answered on 28 Jun 2013
1 answer
137 views
Hi

I am loading a radcombobox from a huge sql datasource. I want to load 10 items and display a Load More text inside the combobox and clicking on it, the next 10 items will load. I need code to do this. Can anyone help?

Thanks for replying,
Needha
Shinu
Top achievements
Rank 2
 answered on 28 Jun 2013
6 answers
867 views

I am using a radgrid with a gridclientselectcolumn as an input tool to get a list of cost centers to be included in a report.

<telerik:RadGrid ID="gridEntitiesAndCCs" runat="server" AllowSorting="True" AllowMultiRowSelection="true" 
  AutoGenerateColumns="False" GridLines="None" Width="100%">
  <MasterTableView DataKeyNames="FacilityID,CostCtr" AllowMultiColumnSorting="true">
    <SortExpressions>
      <telerik:GridSortExpression FieldName="ShortName" SortOrder="Ascending" />
      <telerik:GridSortExpression FieldName="DeptName" SortOrder="Ascending" />
    </SortExpressions>
    <Columns>
      <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" HeaderTooltip="Select all">
        <HeaderStyle Width="25" />
        <ItemStyle Width="25" />
      </telerik:GridClientSelectColumn>
      <telerik:GridBoundColumn DataField="ShortName" HeaderText="Entity" 
        SortExpression="ShortName" UniqueName="ShortName">
        <HeaderStyle Width="150" />
        <ItemStyle Width="150" />
      </telerik:GridBoundColumn>
      <telerik:GridBoundColumn DataField="CostCtr" HeaderText="Cost Center" 
        SortExpression="CostCtr" UniqueName="CostCtr">
        <HeaderStyle Width="100" />
        <ItemStyle Width="100" />
      </telerik:GridBoundColumn>
      <telerik:GridBoundColumn DataField="DeptName" HeaderText="Dept Name" 
        SortExpression="DeptName" UniqueName="DeptName">
      </telerik:GridBoundColumn>
    </Columns>
  </MasterTableView>
  <ClientSettings EnablePostBackOnRowClick="false">
    <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="150" />
    <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
  </ClientSettings>
</telerik:RadGrid>

How can I update the grid so that all of the checkboxes in the gridclientselectcolumn and in that column's header are checked when it is initially loaded?  In other words, I want the default to be that all rows are selected.

Thank you!

Dylan
Top achievements
Rank 2
 answered on 28 Jun 2013
1 answer
63 views
Hi,

In my web application is it possible to globally set a particular skin for a particular control to avoid setting the skin property inline?

Thanks,
Ben.
Shinu
Top achievements
Rank 2
 answered on 28 Jun 2013
1 answer
102 views

This is the full error
"Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object."

It happens when I click on a tab after clicking on the seventh tab. When I use any of the first six tabs in behaves just fine. Once I click on this seventh tab I get the error when I click on any of the rest of them. If I switch the tab order in the code the problem is still with the seventh tab.

Right now, I'm just asking if this is a known bug or if someone has experienced or heard of it in the past. If it's unheard of I'll post more information.
Version: 2012.3.1205.40
Runtime Version: v4.0.30319

I'd rather not post all the code to the general public right now. I'm getting the account information from our admin so I can submit a ticket.

MArk B.
MArkB
Top achievements
Rank 1
 answered on 28 Jun 2013
2 answers
94 views
I need to resize like 5 radgrids using multi page and  a rad tab bar so that they fill the available size in the window. 

I am using scrolling radgrids with static headers, and paging is in no way allowable. Sorting and editing are used on some, either template columns with asp controls or gridbound columns are being used.
 
I am registering a startup script and client script block in the code behind using script manager to handle resize and page load calls of this function

function MGridScrollHeight(control , pBuff) {
    var windowHeight = 0;
    var windowWidth = 0;
    if (typeof (window.innerWidth) == 'number') {
        //Non-IE 
        //        alert('non ie');
        windowWidth = window.innerWidth;
        windowHeight = window.innerHeight;
    }
    else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
        //IE 6+ in 'standards compliant mode' 
        //        alert('IE 6+');
        windowWidth = document.documentElement.clientWidth;
        windowHeight = document.documentElement.clientHeight;
    }
    else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
        //IE 4 compatible 
        //        alert('IE 4');
        windowWidth = document.body.clientWidth;
        windowHeight = document.body.clientHeight;
    }
    var resizeCont = document.getElementById(control);
    var buffer; // BUFFERING
        if (pBuff != undefined) { buffer = pBuff; }
        else { buffer = 30; }
        if ((windowHeight - (resizeCont.offsetTop + resizeCont.offsetParent.offsetTop) - buffer) > 100) {
            resizeCont.style.height = (windowHeight - (resizeCont.offsetTop + resizeCont.offsetParent.offsetTop) - buffer) + 'px';
        }
        else {
            resizeCont.style.height = 100
        }
}

This sort of works in IE and busts all telerik related JS in chrome. I tried resizing divs and then using the onGridCreated event as stated here http://www.telerik.com/help/aspnet-ajax/grid-change-scroll-height-at-runtime.html

However this just plain broke, sender was not passed and the methods of accessing height caused JS on the page to fail without triggering IE's or VS's debugger

If there is a method of being able to resize scrolling radgrids to divs ( I am using obj data sources as company requirement) then I would appreciate a pointer towards it.
Fraser
Top achievements
Rank 1
 answered on 27 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?