Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
161 views
Hi,
     I am using radmenu and binding it dynamcially from database.I have some issues regarding styling of radmenu . is there anyway to apply different class during active,hover and selected state to masteritem and childitem programtically?

Thanks,
Dwarak

    

dwarak kanniah
Top achievements
Rank 1
 answered on 02 Jun 2010
5 answers
236 views
Hi,

I put a Panel in the nestedViewTemplate of a RadGrid. On the panel, I have a toolBar, then a inner grid.
What I want is:
When I click the button (export) on the toolBar, I will export the content of the inner grid.
What I did is:
I attached a OnOnClick="toolSearchResultsInner_OnClick" to the toolBar. In the code behind, I will set the export formatting for the innerGrid.
The problem is:
1) I can't get the reference control (inner grid) in the toolSearchResultsInner_OnClick event.
2) I searched a lot and found that people suggested using outGrid.itemCreated to access the controls inside the nestedViewTemplate. However, in my case, I want to export the inner grid only when I click the export button on the toolBar.

Can anybody help me?

Here is the code:
 <Telerik:RadGrid ID="dgResults" runat="server" AllowPaging="True" AllowSorting="True">  
<MasterTableView > 
 <NestedViewSettings > 
     <ParentTableRelation> 
       <telerik:GridRelationFields DetailKeyField="GeneralID" MasterKeyField="GeneralID" /> 
                        </ParentTableRelation>                                                
                   </NestedViewSettings> 
                    
                   <NestedViewTemplate> 
                   <asp:Panel runat="server" ID="InnerContainer" CssClass ="viewWrap" Visible="true">         
                <radtlb:radtoolbar runat="server" id="toolSearchResults1"  OnOnClick="toolSearchResultsInner_OnClick" AutoPostBack="true">  
         <items>                    
                                                <radtlb:radtoolbarbutton ID="toolExport" DisplayType="TextImage"  CommandName="Export to Excel" ButtonImage="IFExcel.jpg" Hidden="False" runat="server" style=" font-weight:normal;font-family:Tahoma" ButtonText="Export" /> 
                                <radTlb:RadToolbarSeparator ID="RadToolbarSeparator31" runat="server" /> 
                                <radtlb:radtoolbarbutton ID="toolPrint" DisplayType="TextImage"  CommandName="Print" ButtonImage="print.gif" Hidden="False" runat="server" style=" font-weight:normal;font-family:Tahoma" ButtonText="Print" /> 
                                                                </item></radtlb:radtoolbar>   
      <telerik:radGrid ID ="innerGrid" runat ="server"  AllowPaging="True" AllowSorting="True" OnExcelExportCellFormatting="Inner_ExcelExportCellFormatting" 
</MasterTableView > 
      <MasterTableView TableLayout ="auto" >                 
 
 
              </MasterTableView> 
                              
            </telerik:radGrid> 
 
          </asp:Panel> 
        </NestedViewTemplate> 
     </MasterTableView> 
</Telerik:RadGrid> 
 

Best regards,
Heng
Pavlina
Telerik team
 answered on 02 Jun 2010
1 answer
83 views
Hi,

I am using radgrid with enabledembeddedskins set to false and using visual style builder i have built custom skin.I have applied PagerStyle-Mode="NextPrevAndNumeric" but it is get wrapping up in many lines instead of one lines .Here is sample image i have attached.Is there any way to display in a single line without wrapping.


Thanks,
Dwarak
Pavlina
Telerik team
 answered on 02 Jun 2010
1 answer
159 views
Hi, I'm having problems customizing the css styles drop down of a radeditor for dnn.

in the ConfigFile.xml I have
<configuration>
  <property name="CssFiles">/Portals/_default/Skins/MySite/skin.css</property>
  <property name="CssFiles">/Portals/_default/Skins/MySite/index.css</property>
  <property name="CssFiles">/Portals/_default/Skins/default.css</property>
  <property name="CssFiles">/Portals/_default/Skins/portal.css</property>
  <property name="CssClasses">Normal, Strong, Large</property>
</configuration>
 
and in the ToolsFile.xml I have

  <classes>
  <class name="Clear Class" value="" />
  <class name="Links Class" value="a.link" />
  <class name="Images Class" value=".img" />
  <class name="My Red Text" value=".redText" />
  </classes>

in addition, I also have this in the web.config

 <add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" CssFiles="~/Portals/_default/Skins/MySite/skin.css, ~/Portals/_default/Skins/MySite/index.css, ~/Portals/_default/Skins/default.css/, ~/Portals/_default/Skins/portal.css" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" FilterHostExtensions="True" CssClasses="Bright, BlueSky"/>

but nothing seems to be loading correctly.

My goal is to have css styles loaded only if they exist inside the radeditor. Can somebody help me accomplish this. I'm using DNN 5.01.04.

Thanks


Rumen
Telerik team
 answered on 02 Jun 2010
1 answer
118 views
the
hello everyone:
can you tell me  How to change the size of the radMenu's font?

my menu conbined wity sitemapdatasource

I try to  change the   font's size='X-Large'     under   menu's property 


 <telerik:RadMenu ID="RadMenu2" runat="server" DataSourceID="SiteMapDataSource1" EnableRoundedCorners="true"
                        EnableShadows="true" Font-Bold="True" Font-Size="Larger" Style="z-index: 4" Width="363px">
                    </telerik:RadMenu>






but it doesn't work


please  help me  :
I'm  waiting online
Shinu
Top achievements
Rank 2
 answered on 02 Jun 2010
0 answers
77 views
Dear sir,

How Can i know clicked slot have any appointment or not .
if there is an appointment then how can i get its attributes or subject.

Please Help me.

Thank You.
Chandan Kumar
Top achievements
Rank 1
 asked on 02 Jun 2010
1 answer
109 views
What are all the datasource will support for RAD GRID?...I mean Can I pass list items Or collection ....etc ?
Princy
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
89 views
Hi...I'm having an annoying problem with RadAlert control, actually I think is originated by a javascript code to disable the ajax so then can export to Excel (I found this code inside Telerik's website)...when I make the call to the RadAlert, brings me this error: "Microsoft JScript runtime error: Object expected"...........after that I comment the javascript code and then it works....so I want to know if anyone could help me to solve this problem....in addittion, it also ignores the ajax and make POSTBACK to all the page ¬¬

Thanks!! =)
Fiko
Telerik team
 answered on 02 Jun 2010
1 answer
126 views
Hi,
I am trying to use several RadDatepicker . when i run with VS 2008 i do not have any problem but once i upload it to IIS the calender will cease to pop up. i have tried using shared calender and there seem to be no way out i have tried all night long with no succes.
Please help asap.
a spinet of the code is seen below
<telerik:RadDatePicker ID="RadDatePickerStartDate" runat="server" SharedCalendarID="SharedCalendar"
                                            </telerik:RadDatePicker> 
                                            &nbsp;&nbsp; 
                                            </td> 
                                    </tr> 
                                    <tr> 
                                        <td > 
                                            &nbsp;</td> 
                                        <td class="style2"
                                            &nbsp;</td> 
                                        <td colspan="2"
                                            <telerik:RadCalendar ID="SharedCalendar" runat="server" EnableMonthYearFastNavigation="False" 
                                                EnableMultiSelect="False" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                                Skin="Inox"
                                            </telerik:RadCalendar> 
                                        </td> 
                                    </tr> 
                                    <tr> 
                                        <td align="left"
                                            Stop Date:</td> 
                                        <td class="style2"
                                            &nbsp; 
                                        </td> 
                                        <td align="left" class="style4"
                                            <telerik:RadDatePicker ID="RadDatePickerStopdate" runat="server" SharedCalendarID="SharedCalendar"
                                            </telerik:RadDatePicker> 
                                        </td> 


Thanks.

Lanre
Tsvetina
Telerik team
 answered on 02 Jun 2010
1 answer
47 views
...assuming this doesn't already exist

PostbackOnClose property...or something to that effect

To reload the page data when the window closes, instead of having to manually implement this everytime I need it :)
Fiko
Telerik team
 answered on 02 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?