Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 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
107 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
184 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
59 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
4 answers
152 views
I have structure shown below. What I would like to do is filling first item's (Products) sub items with Hierarchical data which comes from ObjectData source. How can I achive this?

Thanks in advance.

<telerik:RadMenu ID="RadMenu1" runat="server" Width="1000px"  
    EnableShadows="True"
    <Items> 
        <telerik:RadMenuItem runat="server" PostBack="False" Text="Products"
            <Items> 
 
            </Items> 
        </telerik:RadMenuItem> 
        <telerik:RadMenuItem runat="server" Text="Text Here" PostBack="False"
            <Items> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub A"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub B"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" NavigateUrl="#" Text="Sub C"
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenuItem> 
    </Items> 
</telerik:RadMenu> 
Barbaros Saglamtimur
Top achievements
Rank 1
 answered on 08 Jun 2010
3 answers
213 views
hello guys ,


I'm using a RadTreeView with Load On Demand. The ExpandMode property is set to “ServerSideCallBack”. I am trying to implement a search functionality for the tree, whereby I choose the node I want to search in, and filter for certain childnodes. When the search button is clicked, an async call is made to the serverside to fetch the new nodes. The missing part is dealing with the issue on the client side. I would like to see the resulting nodes only. How can I make the button cause a client-side event  similar to the one caused by the click on the ‘+’ sign of the node? So that I can update the childnodes on the client side as well?

Nikolay Tsenkov
Telerik team
 answered on 08 Jun 2010
1 answer
215 views
So I can do some dynamic resizing of the textbox I want to get the height and scroll height for the method below. I cannot seem to do this with the RadTexBox. Thanks in advance.

     function Master_ResizeTextBox(sender, eventArgs) {  
         if (sender.scrollHeight > parseInt(sender.style.height.replace(/px/gi, ''))) {  
             sender.style.height = sender.scrollHeight + 'px';  
         }  
 
     } 
Iana Tsolova
Telerik team
 answered on 08 Jun 2010
1 answer
153 views

 

Hi i am using radgrid with editform setting in which i have designed the layout of pop up window in form template.
when i clicked on edit button inside the grid then popup display with items.But my problem is that popup does not dispaly on right posting of the form. it diplay below the radgrid but I want to display the pop up in middle of the grid.
how to set the pop display middle of the form ????
Have any property in radgrid to dispaly the popup in middle of the page???
Princy
Top achievements
Rank 2
 answered on 08 Jun 2010
1 answer
132 views
Is there any way to remove the body { background-image: none; } element from the editor CSS? I can't see it defined anywhere in the editor styles but it is coming through in one of the webresource.axd stylesheets. This is preventing <body background=""> images from being displayed. Overriding the background-image value to the correct image has been considered, and is not an option for us in this case.
Rumen
Telerik team
 answered on 08 Jun 2010
8 answers
310 views
Hi team,

I am using a rad combo box with MarkFirstMatch property.On a button click I am assigning the radComboText box with some values.
Now when I try to add another value to the text box by entering a delimiter(; in my case) at the end of the text inside the textbox, the existing values are getting erased and only the first value in the combo box is getting dispalyed in the textbox. This is totally undesirable as all the values present in the text box would be gone and there is no way to get back those values.

IMO this is hapening because the first value is getting highlighted when the combobox opens.
Once I erase all the values and type in new values then click outside(for the dropdown to close) and then try adding another value
using the delimiter it gives me no problem .

Following is the piece of code I used for assigning values to radText box.

for(int i = 0; i < Projects.Count; i++) 
radComboBox[0].Text = radComboBox[0].Text + Projects[i].Value.ToString() +Constants.chrsemicolon; 


Can you please find a solution for this one.Help needed.

Thanks,
Avinash
Kalina
Telerik team
 answered on 08 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?