Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
159 views

I have radbutton on CommandItemTemplate of radgrid and I have put the radgrid inside the update panel. once I clicked on the radbutton it suppose to pop up the radwindow with content. But in my case it is showing up the radwindow but content inside radwindow  is not loading. But If I remove the update panel, radwindow loads with correct content. I am not sure why adding update panel is not showing content on radwindow pop up.  Can you please provide some help on this?

Thanks

Binary
Top achievements
Rank 1
 asked on 25 Jun 2015
1 answer
180 views

I'm using the scheduler for ASP.NET in a hard-coded permanent timeline view.  I need to have 2 levels of resource grouping, as shown in the demo for the Kendo UI Scheduler located at http://demos.telerik.com/kendo-ui/scheduler/timeline where there are room resources, each of which has 3 staff resources per each room resource.  Is this possible in the ASP.NET scheduler?  We currently have an application written for Silverlight using the Telerik Scheduler in timeline mode, and it too supports this multiple levels of grouping, but I can't seem to make it work in the asp.net control.  Is it even possible?  I don't see this being done in any of the asp.net demos either.

Ivan Danchev
Telerik team
 answered on 25 Jun 2015
1 answer
88 views

This might sound a weird issue but I doubt if it's a bug in the RadGrid control. You might want to reference my StackOverflow question I posted before posting on this forum.

So I am using a Telerik RadGrid control in my asp.net application and I have a GridTemplateColumn which has a CheckBox as an ItemTemplate. Now if I use the html input checkbox control then the RadGrid is rendered properly on the UI. However, if I use the asp.net server-side checkbox control then the data is rendered as it is without the table formatting. Please refer the question posted on StackOverflow as it has a detailed description and screenshots of the problem. Early response is highly appreciated.

Dayanand
Top achievements
Rank 1
 answered on 25 Jun 2015
0 answers
296 views

I am using a form to insert data as well as to edit the data. Insertion of data is fine using telerik controls. But when I try to edit the data, 
retrieving values from the database, I am facing problem, with RadComboBox.

My form sample is ::

<table>
    <tr>
        <td>Date of Birth : </td>
        <td>
            <telerik:RadDatePicker ID="dtp_DOB" runat="server"></telerik:RadDatePicker>
        </td>
    </tr>
     
    <tr>
        <td>Province : </td>
        <td>
            <telerik:RadComboBox ID="rcb_province" runat="server" Sort="Ascending" AutoPostBack="true" EmptyMessage="---SELECT---"></telerik:RadComboBox>          
        </td>
    </tr>
</table>

my code behind logic ::

DataTable dt = GetPersonalDetails(p_id);
 
    if (dt != null && dt.Rows.Count > 0)
    {
        DataRow dr = dt.Rows[0];       
        string province_ = dr["province"].ToString();
         
        if (rcb_province.FindItemByValue(province_) != null)
        {
            rcb_province.FindItemByValue(dr["province"].ToString()).Selected = true;
        }
    }

Here I can get value in province_ from database but also if block is not executed. 

I also tried ::

if (rcb_province.FindItemByValue(dr["province"].ToString()) != null)
        {
            rcb_province.FindItemByValue(dr["province"].ToString()).Selected = true;
        }

it is also not working.

So how to set value from database to RadComboBox.

When I do,

rcb_province.Text = dr["province"].ToString();

the value is shown in the rcb_province but there is no other items in the combo box.

Please tell how to solve this problem.

Thanks!!!

Hadoop
Top achievements
Rank 1
 asked on 25 Jun 2015
1 answer
148 views

I have a treeview with an expand mode of ServerSideCallBack. I would like to be able to select a node by value and expanding the path via client-side. I'm was trying to get all of the parent nodes and call the expand() method down to the node, but after the first expand it told me "could not call expand of null." Could you help me with this problem?

var count = 0;
            $.each(value.list, function (otherkey, othervalue) {
                count = count + 1;
                var tree = $find("pagesLeftNav_treeView");
                var node = tree.findNodeByValue(othervalue.pageid);
                if (count != value.list.length) {
                    node.expand();
                }
            })

Nencho
Telerik team
 answered on 25 Jun 2015
10 answers
999 views

A new feature implemented in ASP.NET 4.0 is the possibility to control the way that controls’ ClientID is generated. At present, RadControls for ASP.NET AJAX expect the ClientID’s of their child controls to be generated by the default method (AutoID). Because of that, if ClientIDMode is set to different method of generation you can experience various problems with RadControls, for example not working dialogs for RadEditor.

Here are some of the errors that you could experience when the ClientIDMode is set to Static:

All RadControls: Invalid JSON primitive:..
RadEditor's dialogs : Error: 'null' is null or not an object
RadEditor's dialogs : Sys.ArgumentNullException: Dialog Parameters for the FindAndReplace dialog do not exist  Parameter name: dialogueName.
RadFileExplorer: might not display the files in the folder
RadGrid : calling get_masterTableView() returns null
"Microsoft JScript runtime error: 'get_postBackElement().id' is null or not an object"

This problem is already added to our TODO list and it should be fixed for RadControls for ASP.NET AJAX Q2 2010. For the time being, we recommend to use ClientIDMode="AutoID" or if you have to use different method you should set the ClientIDMode property’s value explicitly to AutoID to the specific RadControl.

Additional information regarding this new .NET4.0 feature is available in the following article:
ASP.NET 4.0 ClientID Overview

Please note that Microsoft does not recommend setting ClientIDMode="Static" on pages which do contain dynamic controls.

Best regards,
The Telerik team

Maria Ilieva
Telerik team
 answered on 25 Jun 2015
6 answers
325 views
Hi,

I'm trying to do an ajax update panel in a radtabstrip, radmultipage and user controls, but i can't seem to make it work.

I think it should be easy, but i have to miss something.

My structure :

Default.aspx
 
<telerik:RadAjaxManager ID="radManager" runat="server" />
 
<telerik:RadTabStrip ID="rtsSheet" runat="server" MultiPageID="radMultiPage" CausesValidation="false">
          <Tabs>
               <telerik:RadTab PageViewID="rpvTradeName" ToolTip="<%$ Resources: General, TradeNameTitle %>">
                    <TabTemplate>
                        <asp:Literal ID="ltrlTradeName" runat="server" Text="<%$ Resources: General, TradeName %>" />
                    </TabTemplate>
                </telerik:RadTab>
                <telerik:RadTab PageViewID="rpvViewAll" ToolTip="<%$ Resources: General, ViewAll %>">
                    <TabTemplate>
                        <asp:Literal ID="ltrlViewAll" runat="server" Text="<%$ Resources: General, ViewAll %>" />
                    </TabTemplate>
                </telerik:RadTab>
            </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage Width="900" ID="radMultiPage" runat="server" SelectedIndex="0">
           <telerik:RadPageView ID="rpvTradeName" runat="server">
                <MyUserControl:TradeName ID="ucTradeName" runat="server" />
            </telerik:RadPageView>
           <telerik:RadPageView  ID="rpvViewAll" runat="server">
                <MyUserControl:ViewAll ID="ucViewAll" runat="server" />
            </telerik:RadPageView>
        </telerik:RadMultiPage>

TradeName.ascx
  
<telerik:RadAjaxManagerProxy ID="radManager" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="rgTradeName">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="rgTradeName" />
                <telerik:AjaxUpdatedControl ControlID="rgvaTradeName" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
 
<telerik:RadGrid runat="server" AllowSorting="true"
    ID="rgTradeName" AutoGenerateColumns="false"
        OnNeedDataSource="SheetNeedDataSource"
        OnItemCommand="SheetItemCommand"
        OnDeleteCommand="SheetDeleteCommand" AllowPaging="true" PageSize="10"
    />
  
  
ViewAll.ascx
  
<telerik:RadGrid ID="rgvaTradeName" runat="server" />


Can you tell me why my rgvaTradeName are not updated when the rgTradeName are updated ? Maybe i'm not doing it correctly ?

Thanks in advance

Maria Ilieva
Telerik team
 answered on 25 Jun 2015
4 answers
261 views
Hey there,

We are having a problem that, given a typical search, seems rather common with RadWindows. When opening a window towards the bottom of a page that scrolls, it forces the browser back up to the top.  Common causes tend to be the use of anchor tags or setting focus within the RadWindow, but these do not pertain to our situation.

We have implemented a temporary solution of capturing the scroll position and returning the page to that position, but the flicker / flash that occurs is undesirable.

After some additional testing we found that ShowContentDuringLoad seems to have something to do with it. We have this set to false to allow for our forms to load before rendering to the screen. When set to true, the browser stays put and keeps the scroll position as desired.

Has anyone else run into this problem or have any possible solutions? We'd like to keep the ShowContentDuringLoad set to false. Thanks.
Suresh
Top achievements
Rank 1
 answered on 25 Jun 2015
15 answers
776 views
I'm planning to use radscheduler for a project and wondering if anyone has done syncing of radscheduler to Outlook. Is this a possibility?

Thanks!
Hristo Valyavicharski
Telerik team
 answered on 25 Jun 2015
1 answer
670 views

I'm exporting a grid to Excel (HTML format) and i Need to have more control over the borders.

 

For example If I have columns "A","B", and "C" and I do not want to see the B's right border, which I guess you could also assume was C's left border.

How can I, upon exporting to excel from the rad grid, set this properly.

I've created the desired look in EXCL and attached a screen shot.

 

Thanks,

 

 

Konstantin Dikov
Telerik team
 answered on 25 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?