Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
Hello,

I have a radgrid with 6 columns, the first two columns(EmpID,EmpName) will get the data selected from the popup which is opened from the third column, similarly I have the 4th and 5th column (CountryID,CountryName) which will get the data from the popup which is opened from the 6th column.

On Adding of a new row and after the popup button is clicked and after the data is selected in the popup, How can I update the new row's EmpID and EmpName fields.
Eyup
Telerik team
 answered on 09 May 2013
4 answers
171 views
Hiii,

I have rad grid. in side that i have a combo box. I want to populate the other columns of rad grid based on the value selected on the combo box inside the rad gird. The rad grid is bidden to an object data source.
Hari
Top achievements
Rank 1
 answered on 09 May 2013
1 answer
63 views
I have created my website and throughout the development i have been testing it in FireFox, once i switched to Internet Explorer to check my comboBoxes werent displaying properly, what could be the cause of this.

ComboBox Visual Issues

Please check the above link for a visual example of what is happening in Internet Explorer 9

Nencho
Telerik team
 answered on 09 May 2013
4 answers
388 views

I have a created a user control. This user control I dynamically load on a page inside Telerik  Panelbar control. I have done all necessary coding to save the viewstate and load this dynamically created usercontrol every time page loads.

On this User control I have a asp panel. By default this panel is invisible. When user clicks a button on this user control panel is made visible.  On page load of this user control I populate all the controls on this panel.

Everything works fine if I don’t  load this use control dynamically but when I load this user control dynamically  and if I make panel visible by default then only all fields on the panel are populated. But if I make by default invisible and on button click make panel visible none of the text boxes or comboboxes are populated.

I populate comboboxes on page load of the userControl but inbetween  postbacks all the comboboxes on the user control loose data.

ON the parent page I am saving the viewstate

This is my code on parent page to dynamically load userControl  ( which has panel on it)

Dim ucPiggyBank As SubscriberSetupPages_UserControls_PiggyBank = CType(LoadControl("~/SubscriberSetupPages/UserControls/PiggyBank.ascx"), SubscriberSetupPages_UserControls_PiggyBank)

            With ucPiggyBank

                  .PiggyBankID = account.Id

                  .ID = account.Id.ToString

                  'Setting up following 3 properties here to avoid database trips

                  .PiggyBankEligibleAccounts = piggyBankEligibleAccountCollection

                  .MemorizedNames = memorizednames

                  .Period = period

            End With   

            radPanelNewChild.Controls.Add(ucPiggyBank)

            radPanelNew.Items.Add(radPanelNewChild)

            radPanelNew.Expanded = True

‘this is the Panel item on parent page of Telerik Panelbar control.

Dim radPanelPiggyBank As RadPanelItem = DirectCast(pnlbarPiggyBank.FindItemByValue("TestItem"), RadPanelItem)

            With radPanelPiggyBank

                  .Items.Add(radPanelNew)

                  .DataBind()

            End With

‘I am doing everything for saving viewstate on parent control

This is the code on page load of userControl

      If Not IsPostBack Then

 

                 

 

 

                 

                  If m_PiggyBankID <> Guid.Empty Then

                        'Load data

                        Call GetPiggyBankDetails()

                  End If

 

I have a edit button on the user control which makes panel visible.  It makes panel visible but with no data.

Can you please tell me what’s happening?

Thanks in advance.

Boyan Dimitrov
Telerik team
 answered on 09 May 2013
5 answers
208 views

When I click on the control in chrome [or even the Select button] nothing happens.  Both IE and FF will bring up the file selection window.

Telerik Version: 2013.1.417.40

Chrome Version: 26.0.1410.64 m
FF Version: 20.0.1
IE Version: 9.0.8112.16421 [update: 9.0.14]

I did work around the issue by referencing http://www.telerik.com/community/forums/aspnet-ajax/async-upload/multiple-file-upload-issues-chrome-ff.aspx#2100821 and it appears to be working now, but it feels like a work around.  Any idea if/when there will be a fix?

Plamen
Telerik team
 answered on 09 May 2013
7 answers
77 views
I have a problem with (RadCalendar)PatientScheduler.FindControl("SelectedDateCalendar"). everything is ok on popup calendar but seleteddate(systemselected.png) is different with user selecteddate(userselected.png)
Plamen
Telerik team
 answered on 09 May 2013
1 answer
86 views
Hi,
What is culture means for calendar?
Shinu
Top achievements
Rank 2
 answered on 09 May 2013
1 answer
52 views
I have the following code in an ascx page (part of a webpart for Sharepoint).
<asp:UpdatePanel runat="server">
    <ContentTemplate>
        <telerik:RadFilter runat="server" ID="RadFilter1" ShowApplyButton="False">
            <FieldEditors>
                <telerik:RadFilterTextFieldEditor DisplayName="fee" FieldName="fee" TextBoxWidth="120" />
                <telerik:RadFilterDateFieldEditor DataType="System.DateTime" DisplayName="foo" FieldName="foo" />
            </FieldEditors>
        </telerik:RadFilter>
    </ContentTemplate>
</asp:UpdatePanel>
When I select the "foo" field from the context menu, I get the following exception from javascript:
Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type

If I let the code continue on, the filter appears to render correctly, but the datepicker and the timeview are unusable.  If I remove the UpdatePanel, the code works fine, but causes annoying postbacks every time the user interacts with the filter control.  At this point I'm thinking I may need to just use a text field instead of the date one.

For the record, I'm using this so I can manually process the resulting filter in my business logic, so I'm not wired up to a grid or a datasource.
Dave
Top achievements
Rank 1
 answered on 08 May 2013
4 answers
1.0K+ views
I have a radgrid on my aspx page, and it is getting data populated, however, the grid and the data are not visible on the webpage. I am attempting to do a simple databinding as shown in this example: Grid - Simple Data Binding

The source code from my aspx project is:  
<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="RadGrid1" OnSortCommand="RadGrid1_SortCommand" OnPageIndexChanged="RadGrid1_PageIndexChanged"
    Width="90%" Height="100px" OnPageSizeChanged="RadGrid1_PageSizeChanged" AllowSorting="True"
    PageSize="150" AllowPaging="True" AllowMultiRowSelection="True" runat="server"
    GridLines="None">
    <MasterTableView Height="100px" Width="100%" Summary="RadGrid table">
    </MasterTableView>
    <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
</telerik:RadGrid>

Codebehind: 
private void LoadData()
{
    if (Session["TripLog"] != null)
    {
        RadGrid1.DataSource = Session["TripLog"];
        RadGrid1.DataBind();
    }
}

Any assistance is appreciated.
AAA
Top achievements
Rank 1
 answered on 08 May 2013
2 answers
149 views
I upgraded a working site in development to 2011.3.1115.35 and .NET 3.5
code that used to work is now broken
    <telerik:RadAjaxManager ID="raManager" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="rgItems">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgItems" LoadingPanelID="rapItems" />
                    <telerik:AjaxUpdatedControl ControlID="rntbPage" />
                    <telerik:AjaxUpdatedControl ControlID="rntbOrderCode" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="rgOrder">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgOrder" LoadingPanelID="rapOrder" />
                    <telerik:AjaxUpdatedControl ControlID="rntbPage" />
                    <telerik:AjaxUpdatedControl ControlID="lblInfo" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>  
 
...
        <telerik:RadAjaxPanel id="rapItems" UpdateMode="Conditional" runat="server" >
 <!--   <ContentTemplate> -->
        <table border="0" cellpadding="1" cellspacing="1" style="width: 1015px" >
        <tr>
        <td>
            <asp:Label ID="lblTrace" runat="server" />
        </td>
        <td>
            <table cellpadding="0" cellspacing="0">
            <tr>
            <td>
                <telerik:RadNumericTextBox ID="rntbOrderCode" MinValue="1" MaxValue="99999" MaxLength="5" Font-Names="Verdana" Font-Size="X-Small" Height="12px" Width="54px" runat="server">
                    <NumberFormat DecimalDigits="0" GroupSeparator="" />
                    <ClientEvents OnKeyPress="OnKeyPress" />
                </telerik:RadNumericTextBox>
            </td>
            <td>
                <telerik:RadButton ID="rbOrderCode" Text="Order Code" OnClick="rbOrderCode_Click" Skin="Hay" AccessKey="F" ToolTip="Alt + F" runat="server" >
                    <Icon SecondaryIconCssClass="rbSearch" SecondaryIconRight="4" SecondaryIconTop="4" />
                </telerik:RadButton>
            </td>
            </tr>
            </table>
        </td>
        <td>
            <table cellpadding="0" cellspacing="0">
            <tr>
            <td>
                <telerik:RadNumericTextBox ID="rntbPage" MinValue="1" MaxValue="999" MaxLength="3" Font-Names="Verdana" Font-Size="X-Small" Height="12px" Width="54px" runat="server" >
                    <NumberFormat DecimalDigits="0" GroupSeparator="" />
                    <ClientEvents OnKeyPress="OnKeyPress" />               
                </telerik:RadNumericTextBox>
            </td>
            <td>
                <telerik:RadButton ID="rbPage" Text="Page #" OnClick="rbPage_Click" Skin="Hay" AccessKey="P" ToolTip="Alt + P" runat="server">
                    <Icon SecondaryIconCssClass="rbSearch" SecondaryIconRight="4" SecondaryIconTop="4" />
                </telerik:RadButton>
            </td>
            </tr>
            </table>
        </td>
....
        function ItemsRowSelected(sender, eventArgs) {
            var theGrid = sender.get_masterTableView();
            var k = eventArgs.get_itemIndexHierarchical();
            var row = theGrid.get_dataItems()[k];
            var rntbPage = $find('<%= rntbPage.ClientID %>');     --- no longer works
            var rntbOrderCode = $find('<%= rntbOrderCode.ClientID %>'); -- no longer works
 
...
        function OrdersRowSelected(sender, eventArgs) {
            var theGrid = sender.get_masterTableView();          
            var j = eventArgs.get_itemIndexHierarchical();
            var rntbPage = $find('<%=rntbPage.ClientID %>'); -- this doesn't work either
 
 
 
    <telerik:RadGrid ID="rgItems" OnNeedDataSource="rgItems_NeedDataSource" OnItemDataBound="rgItems_ItemDataBound" Skin="Hay" width="1014px" runat="server" >
    <GroupingSettings CaseSensitive="false" />
    <MasterTableView DataKeyNames="ItemID" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="false" AllowFilteringByColumn="False" EditMode="InPlace" Width="99%" >
        <Columns>
  ...

could someone tell me why I can't access my RadNumericTextBoxes from jquery any more?
Aarsh
Top achievements
Rank 1
 answered on 08 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?