Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
hi,

I was trying to do something similar like this: http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/templates/defaultcs.aspx in my website,


now the problem is that I got the page stuck and component is not working, here is my page:
http://82.178.17.30/en/contact.aspx

so any help would be greatly appreciated
Bozhidar
Telerik team
 answered on 11 Jan 2012
1 answer
78 views
Hello Team,

Here is one scenario


I have used a grid for above scenario. Records in grid are dynamically changes on drop down selection.
In above if I select Date and focus lost of Date, Requirefieldvalidator should display the message that start time and end time should be entered for selected date.
At the same time I want add one another validator that checks the End time should be greater than start time.

Please help me to do this.

Thanks,
Santosh

Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
1 answer
41 views
Hiiiiiiii,
          I have in prob like i want enable the menu on left click on specifice column only seprately on  radgrid......          

                                   plz reply me soon                                                  
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
93 views
Hi Admin,

I am using RadTreeView
as:-

<telerik:RadTreeView Runat="Server" ID="RadTreeView1" Skin="Vista" OnNodeExpand = "Rad_NodeExpand" >

 

</telerik:RadTreeView>
Code:

protected void Rad_NodeExpand(object sender, RadTreeNodeEventArgs e)
    {
        if (e.Node.Nodes.Count == 0)
        {
            switch (e.Node.Level)
            {
                case 0:
                    FillTerritories(e.Node);
                    break;
                case 1:
                    FillOrganizations(e.Node);
                    break;
                case 2:
                    FillOffices(e.Node);
                    break;
            }
        }
    }

Now the problem is when I am building the code I am getting following error:
 'ASP.dyanamictreeview3_aspx' does not contain a defiantion for  'Rad_NodeExpand', as shown in the attached file.

This is really frustating. Please throw some light on what is going wrong.

thanks a lot
Xorv


Xorv
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
89 views
Hello!  I have two projects running the same setup for a couple of RadGrids.  One of the projects generates a new tag in the browser called RadGridPanel1, the other does not.  The one that does not experiences a Javascript crash with this error:

Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_RadGrid1Panel'. If it is being updated dynamically then it must be inside another UpdatePanel. 

Here is the code block for both projects, exactly the same.

<telerik:radajaxpanel id="RadAjaxPanel1" runat="server" clientevents-onrequeststart="conditionalPostback">
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel  ID="RadAjaxLoadingPanel1" runat="server"
        BackColor="#CCCCCC" Transparency="30" HorizontalAlign="Center" BorderStyle="NotSet">
        <div style="margin: 0 auto; padding-top: 50px;"><img src="../images/ajax-loader.gif" alt="Loading..." border="0" /></div>
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="true" AllowAutomaticUpdates="true" AllowPaging="true"
        AllowFilteringByColumn="true" AllowSorting="true" OnDeleteCommand="DeleteUser" OnUpdateCommand="UpdateUser"
        PageSize="20" OnEditCommand="EditUser" OnNeedDataSource="RadGrid1_NeedDataSource" OnInsertCommand="InsertUser"
        AllowAutomaticInserts="true" Width="100%" Skin="Sunset">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView DataKeyNames="ID"  AutoGenerateColumns="false" CommandItemDisplay="Top">


The client-side page generated differs for both of them in one element only.  Here is the output:

<div id="ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_RadAjaxPanel1Panel" style="display: block; ">
    <div id="ctl00_ContentPlaceHolder1_RadAjaxPanel1">
        <!-- 2010.3.1317.40 -->
    <div id="ContentPlaceHolder1_RadAjaxManager1SU" style="display: block; ">
            <span id="ctl00_ContentPlaceHolder1_RadAjaxManager1" style="display:none;"></span>
        </div>
    <div id="ContentPlaceHolder1_RadAjaxLoadingPanel1" style="display:none;background-color:#CCCCCC;text-align:center;">
             
        <div style="margin: 0 auto; padding-top: 50px;"><img src="../assets/ajax-loader.gif" alt="Loading..." border="0"></div>
     
        </div>
    <div id="ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_RadGrid1Panel" style="display: block; ">
            <div id="ctl00_ContentPlaceHolder1_RadGrid1" class="RadGrid RadGrid_Default" tabindex="0">
 
            <table cellspacing="0" class="rgMasterTable" id="ctl00_ContentPlaceHolder1_RadGrid1_ctl00" style="width:100%;table-layout:auto;empty-cells:show;">

The problem is with this one line:

<div id="ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_RadGrid1Panel" style="display: block; ">

Which is only generated for one of the projects.  It is a div wrapper around the entire RadGrid1 construct.  I imagine it is some form of Update Panel.  However, neither project has any UpdatePanel defined, neither in their own source or their Master file.

So I am at a bit of a loss.  Help? =)
Iana Tsolova
Telerik team
 answered on 11 Jan 2012
1 answer
154 views
Is there a way to get the tabs listed down the side and open the sliding pane to the right of the tabs.
I've tried several different variations and I'm unable to get the look that I want.

I want the tabs (with a consistent width), vertical tabs, and the slider to the right of the tabs.


Princy
Top achievements
Rank 2
 answered on 11 Jan 2012
1 answer
184 views
Hi Sir:
I HAVE A RADGRID::
<telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" Width="99%"
  AutoGenerateColumns="False" DataSourceID="SqlDataSource2" EnableEmbeddedSkins="True"
  AutoGenerateEditColumn="True" AllowAutomaticUpdates="true"  CellSpacing="0" GridLines="None">

AND TWO IMPORTANT COLUMNS LIKE THESE:
<telerik:GridBoundColumn DataField="UJId" DataType="System.Int32" HeaderText="Upgrade ID"
ReadOnly="True" SortExpression="UJId" UniqueName="UJId" HeaderStyle-HorizontalAlign="center"
ItemStyle-HorizontalAlign="center">
</telerik:GridBoundColumn>

 <telerik:GridTemplateColumn HeaderText="Upgrade Status" SortExpression="UJStatus" UniqueName="UJStatus" DataField="UJStatus">
  <HeaderStyle Width="10%" />
  <ItemTemplate>
       <asp:Label runat="server" ID="lblUJStatus" Text='<%# Eval("UJStatus") %>'></asp:Label>
   </ItemTemplate>
   <EditItemTemplate>   
         <asp:DropDownList ID="UJStatusDropDownList" runat="server"  >
                  <asp:ListItem Text="Waiting" Value="Waiting" />
                  <asp:ListItem Text="Completed" Value="Completed" />
                   <asp:ListItem Text="Fail" Value="Fail" />
         </asp:DropDownList>
   </EditItemTemplate>
</telerik:GridTemplateColumn>

......
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:AppSqlServer %>"
UpdateCommand = "UPDATE UJTable set UJStatus = @UJStatus where UJId = @UJId" 
SelectCommand="SELECT UJId, UJStatus From  UJView ...

......

I get two issues here:
one: when i clcik Edit , how can I set  UJStatusDropDownList select value to the value <%# Eval("UJStatus") %>
two: when i click Update after edit , It didn't update what I selected, but it only update null to UJStatus in the record

Many thanks

M Qiu


Princy
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
80 views
Hello,
I have a RadPanelBar inside a RadPane/Splitter and it expands/collaps very slow and the navigateUrl opens slow. This is only in IE7, other browsers work fast (IE8, FF3.6, Safari, Chrome) When I click the PanelBarItem, the CPU will rice to 100% for a short period, until it finally expands/collaps or opens the navigateUrl.

If the RadPanelBar is outside of the RadPane/Splitter it still expands/collaps slow, but slightly faster than inside the RadPane/Splitter. The demos I see at the Telerik website also run slow on IE7 (tested this on 3 different computers)

The RadPanelBar is initialised like this:

<telerik:RadPanelBar runat="server" ID="LeftMenu" Width="200" ExpandMode="SingleExpandedItem"
    AllowCollapseAllItems="true" CollapseAnimation-Type="None" CollapseAnimation-Duration="0"   
    ExpandAnimation-Duration="0" ExpandAnimation-Type="None" PersistStateInCookie="false"
     EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false" EnableViewState="true" CollapseDelay="0"
      ExpandDelay="0"
     >
</telerik:RadPanelBar>

The PanelBarItems are added dynamicly, but for some (I use multiple RadPanelBars on a single page) they are in the aspx. There is no difference in behaviour.

Does anyone know this issue?

With kind regards,

Kees de Wit
Chuck
Top achievements
Rank 1
 answered on 11 Jan 2012
4 answers
119 views
Chrome,Mozilla and IE 8 do not
haven't tried IE9 yet
Safari-sometimes it does,sometimes it doesn't
Elliott
Top achievements
Rank 2
 answered on 10 Jan 2012
1 answer
86 views
I have a radgrid and i used AllowFilteringByColumn ="true" to filter the columns. The filtering works perfect. Now, i also have a tree beside this grid. depending on the node clicked i update the grid. The problem occurs when :

1. on an existing grid, i applied a filter. The result is perfect.

2. Now, when i click another node in the tree, a new grid is coming up (but with the same filter as previous). In my ocndition, when i click another node the filter shouldn't be applied. so this is what i did :

Private Sub RadTreeView1_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs) Handles RadTreeView1.NodeClick
        For i As Integer = 0 To RadGrid1.Columns.Count - 1
            RadGrid1.Columns(i).ResetCurrentFilterValue()
        Next
        RadGrid1.DataSource = Nothing
        RadGrid1.Rebind()       
    End Sub

But it is not working. The new grid result has filter on it. Can some one please tell me how to remove the filter in the code behind. Thanks
Sagar
Top achievements
Rank 1
 answered on 10 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?