Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
172 views
hiiii,
            I m a begginer so plz help me where i learn telerik controls easily ...
Tsvetina
Telerik team
 answered on 11 Jan 2012
1 answer
87 views
Help me Please.
hello
 I have a radgridview with editformtemplate in which I have a radcombobox multiplecolumns,I want to do is select a record and pass it to a data radtextbox with radcombobox. example:

RadcomboBoxItem = ID, ItemName, Price
RadtextBox = Price 
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2012
2 answers
132 views
I have the follow script to disable a button in the toolbar , I switch edit modes pragmatically based of some conditions the section for preview mode works fine but the section for design mode does not any help is appreciated. 

<script type="text/javascript">
        function OnClientModeChange(editor, args) {
            var mode = editor.get_mode();
            switch (mode) {
                case 1:
                    //Design MODE
                    setTimeout(function () {
                        var tool = editor.getToolByName("ChangeRequest");
                        tool.setState(-1);
                    }, 0);
                    break;
                case 2:
                   //HTML
                    
                    break;
                case 3:
                    
                    break;
                case 4:
                   setTimeout(function () {
                        var tool = editor.getToolByName("ChangeRequest");
                        tool.setState(0);
                    }, 0);
                 
                    break;
            }
        }
    </script>
Rumen
Telerik team
 answered on 11 Jan 2012
1 answer
100 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
91 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
46 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
100 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
92 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
165 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
194 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?