Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
264 views
I have a script client side that changes the title of a RadDock using the dock.set_title('New title') method. Why does this not reflect on the post back when I use RadDockLayout.GetRegisteredDocksState()? Here all the titles are as they were before.
Pero
Telerik team
 answered on 08 Jun 2010
1 answer
142 views
We're using the Telerik APS.Net AJAX Q2 2008 controls, VS2008, and .Net 3.5 Framework.  When placing the RadSlider into a panel with the AJAX Collapsible Panel Extender, the slider does one of two things; it will either partially render for a split-second & disappear, or it just won't appear at all.  Tried registering the Vista css with no luck.  The control works fine outside the Collapsible Panel.  Also, SOMETIMES it will appear after collapsing/expanding the panel but this doesn't happen consistently.

This originally happened in a fairly complex .ascx control but behaves the same way in just a basic web page.  Thanks.
Tsvetie
Telerik team
 answered on 08 Jun 2010
2 answers
134 views
Hi - I'm wondering if there is a way to format tabs (horizontal orientation) such that the tabs fill up the bottom row first and then fill up the row above.  It appears the default is to fill up the top row first and then the bottom row.  This has a counter-intuitive appearance and I'd like to change it.

Here is an example of how things are:

|********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|
|********|  |********|  |********|  |********|
---------------------------------------------------------------------------------------------------------------------
|                                                                                                                                                 |
|                                              Content Area - Tabs span entire width of page                          |
|                                                                                                                                                 |
|                                                                                                                                                 |


and here's an example of how I would like them to look:

|********|  |********|  |********|  |********|
|********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|  |********|
---------------------------------------------------------------------------------------------------------------------
|                                                                                                                                                 |
|                                              Content Area - Tabs span entire width of page                          |
|                                                                                                                                                 |
|                                                                                                                                                 |

Thanks!
David

David
Top achievements
Rank 1
 answered on 08 Jun 2010
4 answers
824 views
hi ,
  I had rad grid with all operation. In commanditem template i used on link button for add record command. The first column i have name and this is also link button in the itemtemplate. when i click this link reocrd can edit. My design is follows


            <telerik:RadGrid ID="Rad_grd1" runat="server" AutoGenerateColumns="false" GridLines="None" BorderWidth="0" AllowSorting="true"  Width="100%" PageSize="20" AllowPaging="true" PagerStyle-Mode="NextPrev" PagerStyle-AlwaysVisible="true" PagerStyle-HorizontalAlign="Right" > 
                   
                <ClientSettings> 
                  <Resizing AllowRowResize ="true" /> 
                  <Selecting AllowRowSelect="true" /> 
                  <Scrolling AllowScroll ="true" UseStaticHeaders ="true"  SaveScrollPosition="true"/>                    
                  <ClientEvents OnScroll="HandleScrolling" /> 
               </ClientSettings> 
 
                   <MasterTableView DataKeyNames="ID, ParameterCollectionTypeId, Status" ClientDataKeyNames="ID" TableLayout="Fixed" CommandItemDisplay="Top" EditMode="EditForms" > 
                       <RowIndicatorColumn Visible="True">  
                       </RowIndicatorColumn> 
                    <Columns> 
                        <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="#">  
                            <ItemTemplate> 
                                <asp:Label ID="numberLabel" runat="server" Width="30px" /> 
                            </ItemTemplate> 
                            <HeaderStyle Width="30px" /> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridTemplateColumn HeaderText="Name" UniqueName="Name">  
                            <ItemTemplate> 
                                <asp:LinkButton ID="lnkbtn_Edit" runat="server" CommandName="Edit" Text='<%#Eval("Name") %>'></asp:LinkButton> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                  </Columns> 
                     <EditFormSettings EditFormType="Template">  
                        <FormTemplate> 
                            <table width="100%">  
                                <tr> 
                                    <td colspan="2">  
                                        <asp:ValidationSummary ID="vs_Summary1" CssClass="" runat="server" ValidationGroup="EditValidation" ShowSummary="true"    
                                            ForeColor="Red" DisplayMode="BulletList" /> 
 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td> 
                                        <asp:Label ID="lbl_etHeading" runat="server" Text="Add New Parameter"></asp:Label> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td width="15%">  
                                        <asp:Label ID="lbl_etName" runat="server" Text="ParameterName :"></asp:Label> 
                                    </td> 
                                    <td width="85%">  
                                        <telerik:RadTextBox ID="rad_txt_etName" Width="200px" runat="server" Text='<%#Bind("Name") %>' SelectionOnFocus="CaretToEnd"></telerik:RadTextBox> 
                                        <asp:RequiredFieldValidator ID="rfv_etName" Display="Dynamic" ValidationGroup="EditValidation" 
                                            SetFocusOnError="true" runat="server" ControlToValidate="rad_txt_etName" 
                                            ErrorMessage="Name is Mandatory!!!" Text="*" ForeColor="Red"></asp:RequiredFieldValidator> 
                                    </td> 
                                </tr> 
                          </table> 
                        </FormTemplate> 
                     </EditFormSettings>     
                    
                   <CommandItemTemplate> 
                        <asp:LinkButton ID="lnkbtn_AddNew" runat="server" CommandName="InitInsert" Text="Add New Name"></asp:LinkButton> 
                    </CommandItemTemplate>   
                  </MasterTableView> 
            </telerik:RadGrid> 
 

My scenario is When one process doing no other opertions are allowed. So when i click "add new name" i disbale the add new button and also the links in name field. In edit command and insert command i need to do this and in update and cancel command i need to enable again.? 

I tried but i dont know why it not working. but i had one combo box outside the gridview and when i disable that combobox and enable that working nicely. The add new button's text is set in the itemcreated event of grid. i tried in the item command after databind the insert mode, but after disbale again the itemcreated event calling from override skin property?

Can anyone please give the solution?
Akhil Raj
Top achievements
Rank 1
 answered on 08 Jun 2010
5 answers
199 views
I am trying to use the Dynamically Created Docks example at http://www.telerik.com/DEMOS/ASPNET/Prometheus/Dock/Examples/DynamicDocks/DefaultCS.aspx.  however, I need to be able to pass parameters from the parent page to the dynamically created docks.  My user controls have a public sub exposed called UpdateParameters(StartDate as Date, EndDate as Date, Client as String, Type as Integer).  I just need to be able to call this subroutine from the parent page for all loaded docks.

Pero
Telerik team
 answered on 08 Jun 2010
5 answers
200 views
Hi,
I trying to make the chart (of bars) to look flat, without the hatch (or two border) that make it looks sunk.
See the two Red borders in the attached file.
I don't mean to change them to a diffrent color, but I mean to make the chart flat.

Thanks,
Niv.
niv kfir
Top achievements
Rank 1
 answered on 08 Jun 2010
1 answer
130 views
HELP ME URGENT scroll not working for master table when using details table .

i use the code :


                                <telerik:RadGrid ID="GridCard" runat="server" allowpaging="true"
                                gridlines="None"  pagesize="10" Width="900px" Height ="500px"
                                Visible="False"  OnDetailTableDataBind="RadGridViewChapter_DetailTableDataBind" >
                   <MasterTableView AutoGenerateColumns="False" HorizontalAlign="NotSet"  DataKeyNames="StartDate" ClientDataKeyNames="StartDate">
                    <DetailTables >  
                     <telerik:GridTableView  EnableNoRecordsTemplate="true"  CssClass="Detail2"   BorderStyle="Solid" ShowHeader="true" BorderWidth="1px" HorizontalAlign="Center"
                                         ShowFooter="false" AutoGenerateColumns="False"  DataKeyNames="StartDate" Width="95%" runat="server" Name="LessonTitle" CommandItemDisplay="None">                                        
                        <ParentTableRelation>
                            <telerik:GridRelationFields DetailKeyField="StartDate" MasterKeyField="StartDate" />
                        </ParentTableRelation>   
                            <Columns >
                                  <telerik:GridTemplateColumn Visible="false" HeaderStyle-HorizontalAlign="Center" HeaderText="StartDate" >
                                    <ItemTemplate >
                                        <asp:Label ID="lblChapterId1" runat="server" Text='<%# Bind( "StartDate") %>'></asp:Label>
                                    </ItemTemplate>
                                  </telerik:GridTemplateColumn>   
                                         .......................................                  
                            </Columns>
                     </telerik:GridTableView>
                                  </DetailTables>
                                    
                                    <Columns>                                
                                                                          
                                      .........................................................
                                        
                                    </Columns>
                                    <PagerStyle Mode="NextPrevNumericAndAdvanced" />
                                    <NoRecordsTemplate>
                                        <div align="center" class="ErrorBold">
                                            There are no reccords to display</div>
                                    </NoRecordsTemplate>
                        </MasterTableView>
                                   <ClientSettings>
                                      <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="2" />
                                  </ClientSettings>
         </telerik:RadGrid>
Pavlina
Telerik team
 answered on 08 Jun 2010
1 answer
112 views

Hi,

After installed and deployed MOSS RadEditor version 5.6.2.0 to SharePoint site, the RadEditor to edit List Items and to edit HTML fields body content intermittently shows internet explorer cannot display webpage.
For the RadEditor to edit List Items , when it shows ie cannot display web page the toolbar didn't render properly as well.
After refresh the page or few times refresh the page, then the RadEditor is working. 

Below is my ConfigFile.xml for RadEditor to edit HTML fields
<configuration>
 <property name="ToolbarMode">ShowOnFocus</property>
 <property name="ToolsWidth">680px</property> 
</configuration>

Below is my ListConfigFile.xml for RadEditor to edit HTML fields
<configuration>
 <property name="EditModes">Design,Html</property>
 <property name="Height">500px</property>
 <property name="Width">600px</property> 
</configuration>

Below is my  ToolsFile.xml
<root>
  <modules>
    <module name="RadEditorDomInspector" />
  </modules>
  <tools name="MossTools1">
    <tool name="AjaxSpellCheck" />
    <tool name="FindAndReplace" />
    <tool separator="true" />
    <tool name="Cut" shortcut="CTRL+X" />
    <tool name="Copy" shortcut="CTRL+C" />
    <tool name="Paste" shortcut="CTRL+V" />
    <tool separator="true" />
    <tool name="Undo" shortcut="CTRL+Z" />
    <tool name="Redo" shortcut="CTRL+Y" />
    <tool separator="true" />
    <tool name="MOSSLinkManager" shortcut="CTRL+K" />
    <tool name="Unlink" shortcut="CTRL+SHIFT+K" />
    <tool name="ImageManager" shortcut="CTRL+G" />
    <tool name="MOSSTemplateManager" />
    <tool separator="true" />
    <tool name="MOSSInsertTable" />
    <tool name="SetTableProperties" />
    <tool name="ToggleTableBorder" />
    <tool separator="true" />
    <tool name="MOSSInsertTableElement">
      <tool name="InsertRowAbove" />
      <tool name="InsertRowBelow" />
      <tool name="InsertColumnLeft" />
      <tool name="InsertColumnRight" />
      <tool name="DeleteRow" />
      <tool name="DeleteColumn" />
      <tool name="SplitCell" />
    </tool>
    <tool name="MergeColumns" />
    <tool separator="true" />
    <tool name="ToggleSource" />
    <tool name="FormatStripper" />
    <tool separator="true" />
    <tool name="MOSSRightToLeft" />
    <tool name="MOSSLeftToRight" />
    <tool separator="true" />
    <tool name="ForeColor" />
    <tool name="BackColor" />
  </tools>
  <tools name="MossTools2">
    <tool name="ApplyClass" />
    <tool name="FormatBlock" />
    <tool separator="true" />
    <tool name="FontName" />
    <tool name="FontSize" />
    <tool separator="true" />
    <tool name="Bold" shortcut="CTRL+B" />
    <tool name="Italic" shortcut="CTRL+I" />
    <tool name="Underline" shortcut="CTRL+U" />
    <tool separator="true" />
    <tool name="JustifyLeft" />
    <tool name="JustifyCenter" />
    <tool name="JustifyRight" />
    <tool separator="true" />
    <tool name="InsertOrderedList" />
    <tool name="InsertUnorderedList" />
    <tool separator="true" />
    <tool name="Indent" />
    <tool name="Outdent" />
  </tools>
  <contextMenus>
    <contextMenu forElement="*">
      <tool name="Cut"/>
      <tool name="Copy"/>
      <tool name="Paste"/>
    </contextMenu>
  </contextMenus>
</root>

Below is my ListToolsFile.xml
<root>
  <tools name="EnhancedToolbar">
    <tool name="Cut" shortcut="CTRL+X" />
    <tool name="Copy" shortcut="CTRL+C" />
    <tool name="Paste" shortcut="CTRL+V" />
    <tool name="FormatStripper" />
    <tool separator="true" />
    <tool name="Undo" shortcut="CTRL+Z"/>
    <tool name="Redo" shortcut="CTRL+Y"/>
    <tool separator="true" />
    <tool name="MOSSInsertTable" />
    <tool name="MOSSInsertTableElement">
      <tool name="InsertRowAbove" />
      <tool name="InsertRowBelow" />
      <tool name="InsertColumnLeft" />
      <tool name="InsertColumnRight" />
    </tool>
    <tool name="MOSSDeleteTableElement">
      <tool name="DeleteRow" />
      <tool name="DeleteColumn" />
    </tool>
    <tool name="SplitCell" />
    <tool name="MergeColumns" />
    <tool separator="true" />
    <tool name="MOSSLinkManager" />
    <tool name="ImageManager" />
  </tools>
  <tools name="BasicToolbar">
    <tool name="FontName" />
    <tool name="FontSize" />
    <tool separator="true" />
    <tool name="Bold" shortcut="CTRL+B" />
    <tool name="Italic" shortcut="CTRL+I" />
    <tool name="Underline" shortcut="CTRL+U" />
    <tool separator="true" />
    <tool name="JustifyLeft" shortcut="CTRL+L" />
    <tool name="JustifyCenter" shortcut="CTRL+E" />
    <tool name="JustifyRight" shortcut="CTRL+R" />
    <tool separator="true" />
    <tool name="InsertOrderedList" />
    <tool name="InsertUnorderedList" />
    <tool name="Indent" />
    <tool name="Outdent" shortcut="CTRL+M" />
    <tool separator="true" />
    <tool name="ForeColor" />
    <tool name="BackColor" />
    <tool separator="true" />
    <tool name="MOSSLeftToRight" />
    <tool name="MOSSRightToLeft" />
  </tools>
  <contextMenus>
    <contextMenu forElement="*">
      <tool name="Cut"/>
      <tool name="Copy"/>
      <tool name="Paste"/>
    </contextMenu>
  </contextMenus>
</root>

Thanks and Regards,
Sumilo

Stanimir
Telerik team
 answered on 08 Jun 2010
3 answers
189 views
Hi,

I have a radgrid with a date column. When I sort ascending order the empy dates appear at the top. I want the ascending functionality to work in a way so that the columns with the date appear at the top in ascending order where as the empty dates are moved right to the end.

What would be the best approach to achieve this?
Yavor
Telerik team
 answered on 08 Jun 2010
1 answer
63 views
If we have a RadUpload along with the Telerik httphandler registered in iis, is it possible to accomodate users who do not have JavaScript enabled and still get disk caching of uploads?
Genady Sergeev
Telerik team
 answered on 08 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?