Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
242 views
hi

how to maximize width of filter textbox in grid.

Please help me

thanks in advance
Princy
Top achievements
Rank 2
 answered on 05 Aug 2008
2 answers
189 views
Is there anyway with the image manager settings, to have the image manager rename uploaded images with a unique file name, and not ever show folder to users?  When do you foresee putting more documentation out about properties and settings for editor in DNN?
George
Telerik team
 answered on 05 Aug 2008
24 answers
868 views
Hello,

I have a hierarchical Radgrid in which each level in the hierarchy uses different data table. I have 4 levels in hierarchy and the last level is a hyperlink column.

On ItemCommand even (i.e on clicking + sign in the grid) is captured. In this function i.e RadGrid2_ItemCommand(object sender, GridCommandEventArgs e)
i want to remove all the DetailTableviews and add a new one.

How can this be accomplished. I tried
 e.Item.OwnerTableView.DetailTables.Remove(e.Item.OwnerTableView.DetailTables[0]);
but this doesn't work and also I am not able to add any new tableview to this current tableview in context.

Please let me know how can this be accomplished and if all these levels can be created dynamically on ItemCommand

Also, can I attach a + sign to any tableview that doesn't have any child/ detailtable view ?

Thanks
Daniel
Telerik team
 answered on 05 Aug 2008
3 answers
91 views
Hi,

I have a parent window with a Grid and a button. Button will open a RadWindow with  a Grid in it. The second grid will be populated depending on the user query and then user will select more than one rows and close the Radwindow. Grid1 should be populated with the selected data from the Radwindow.

The problem I have is, the selected rows are in "Session("returnedValues") and I can populate the grid1 with selected data by reloading the page. But I don't want to reload the entire page just refresh the grid1.

Could any one help with sample code? Thanks
Georgi Tunev
Telerik team
 answered on 05 Aug 2008
1 answer
142 views
Hi,

I am designing an app that uses the RadUpload, and I have been able to get Memory/Progressbar to work under IIS6, IIS7 Integrated and IIS7 Classic.

I have read the docs and the following are some questions I still have. Please be as specific as possible.

1) Is there a way to disable the progress area / manager / memory optimization through code behind?

I am detecting the client environment's trust level in my code (I have no problem doing this), and I want to disable the progress manager/memory optimization when I encounter less than full trust environment. I have not been able to do so.

According to this page, I should be able to disable it by switching the EnableMemoryOptimization to false.

I tried setting both the progressmanager and the progressarea's enabled=false through code (page_init), but it still produces an error when the environment is not Full Trust.

2) Application Trace -> can I enable trace in the web.config file but set trace to false on the page that uses the Progress Manager control? It does not seem to work in this configuration.

3) Does it mean that the Progress Manager/ Progress Area/ Memory Optimization must all be enabled at once? Is it possible to disable Memory Optimziation but keep the progress working and vice versa?


Erjan Gavalji
Telerik team
 answered on 05 Aug 2008
1 answer
95 views
Hi,

I am using radgrid where I have given ClientSideEvent-onrowclick="rowclick".

In the function rowclick(row)

I'm using the code row._selectedIndexes[0] to get the row clicked.

In IE it is working fine giving the exact value each time but in mozilla it is not giving the exact values. It is somewhat coming as the row clicked before the current row, though I'm not sure.

Can anyone give me any suggestions of how to do it?


Thanks,
Avik
Veli
Telerik team
 answered on 05 Aug 2008
3 answers
163 views
I have an asp.net master page that contains RadSplitter .
the RadSplitter contains  the following

 - RadSlidingPane that contains asp menu items, and
 - 
RadPane that contains asp.net contentPlaceHolder.

when the user click the menu item it navigates to the corresponding page.
this is work fine.

what i need is to save the docking state of the RadSlidingPane during postbacks.

Notes: if  you make an action in a content page this will not affect the docking, but when yo clicking a menu item (that causes a navigation to another  url) in the master page the docking resets to its original state which i does not need that.

please help me
Tsvetie
Telerik team
 answered on 05 Aug 2008
4 answers
221 views
Hello,

How can I set visible = false for empty (null) values?

[]'s

Henrique
Henrique Duarte
Top achievements
Rank 1
Veteran
 answered on 05 Aug 2008
4 answers
256 views
Hi,

I have an App_Themes directory. It is really important that I change the path of the Skins directory. I need to have something like that :


App_Themes
    - Theme1
            - ...
            - RadWindow.skin
            - TelerikSkin
                - Window
                - Menu
                - TreeView
    - Theme 2
            - ...
             - RadWindow.skin
            - TelerikSkin
                - Window
                - Menu
                - TreeView

and for example into RadWindow.skin of Theme 1 : 

<

telerik:RadWindowManager
SkinID="DefaultRadWindow"
r
unat="server"
Skin="TelerikSkin"
VisibleStatusbar="false"
OnClientShow="OnClientShow"
OnClientClose="OnClientClose"
Behavior="Close, Maximize, Move" />

The Telerik Skin of Theme1 must be different of the Telerik Skin of theme 2.

But I don't know what to do... The application loads the Window Skin of the default "Skins" Path, or say that It doesn't find the Skin "TelerikSkin".

How may I to say that the skin is into ~/App_Themes/Theme1/TelerikSkin 
or ~/App_Themes/Theme2/TelerikSkin. Something like that :

<telerik:RadWindowManager
SkinID="DefaultRadWindow"
r
unat="server"
Skin="TelerikSkin"
SkinPath="~/App_Themes/Theme1"

VisibleStatusbar="false"
OnClientShow="OnClientShow"
OnClientClose="OnClientClose"
Behavior="Close, Maximize, Move" />

Thank you in advance,

Veli
Telerik team
 answered on 05 Aug 2008
8 answers
282 views
I have a grid and i have another grid nested on it (im using nestedviewtemplate)
how do I get the value of a column in if it is nested?

how do i call it in c#?

Radgrid1 -topmost
mastertableview
  Nestedviewtemplate   
   Radgrid2 --> meeting_notes_txt(column)
    mastertableview

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MeetingDetails.ascx.cs" Inherits="Components_Controls_MeetingDetails" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<style type="text/css">
.notVisible{display:none;}
</style>
<asp:SqlDataSource ID="SqlDSProjectMeetings" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meetings_GetByProject_id"
    SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:QueryStringParameter DefaultValue="2" Name="Project_id"
            QueryStringField="project_id" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSMeetingNotes" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meeting_notes_GetByMeeting_id"
    SelectCommandType="StoredProcedure"
    onselecting="SqlDSMeetingNotes_Selecting">
    <SelectParameters>
        <asp:ControlParameter ControlID="RadGrid1" Name="Meeting_id"
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<asp:SqlDataSource ID="SqlDSMeetingAgenda" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meeting_agenda_GetByMeeting_id"
    SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:ControlParameter ControlID="RadGrid1" DefaultValue="" Name="Meetings_id"
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
</telerik:RadScriptBlock>
<telerik:RadGrid ID="RadGrid1" runat="server"
    DataSourceID="SqlDSProjectMeetings" GridLines="None"
    onneeddatasource="RadGrid1_NeedDataSource">
<MasterTableView datasourceid="SqlDSProjectMeetings" datakeynames="meetings_id"
        HorizontalAlign="NotSet" AllowPaging="True">
 
   
   
<NestedViewTemplate>

<fieldset style="padding:10px; azimuth:far-left; size:landscape; width:90%;">
    <legend style="padding:5px;"><b>Sub Menu</b>  

    <fieldset style="padding:10px; size:portrait; width:30%;">
        <legend style="padding:5px;"><b>Meetings Notes</b>
            <asp:Label ID="Label1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("meetings_id") %>' Visible="false" runat="server" />
        </legend>
   
   <asp:SqlDataSource ID="SqlDSMeetingNotes" runat="server"
        ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
        SelectCommand="MWS_Meeting_notes_GetByMeeting_id"
        SelectCommandType="StoredProcedure"
        onselecting="SqlDSMeetingNotes_Selecting">
     
        <SelectParameters>
           
            <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="meeting_id" />
           
        </SelectParameters>
       

    </asp:SqlDataSource>
                              
 
    <telerik:RadGrid ID="RAD1" DataSourceID="SqlDSMeetingNotes"   HeaderStyle-CssClass="notVisible"
     AutoGenerateColumns="false" runat="server">
    <MasterTableView>
    <GroupHeaderItemStyle CssClass="notVisible" />
    <HeaderStyle CssClass="notVisible " />
    <Columns>
        <telerik:GridBoundColumn DataField="meeting_note_text"  UniqueName="Discussion"
         FooterText="Discussion">
         </telerik:GridBoundColumn>
    </Columns>
   
   
    </MasterTableView>
     </telerik:RadGrid>
   
   
    </fieldset>
</NestedViewTemplate>
   
    <RowIndicatorColumn Visible="False"><HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn><ExpandCollapseColumn Resizable="False"><HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridTemplateColumn UniqueName="TemplateColumn">
            <HeaderStyle Width="2cm" />
        </telerik:GridTemplateColumn>
    </Columns>
    <EditFormSettings><PopUpSettings ScrollBars="None"></PopUpSettings>
</EditFormSettings>
</MasterTableView></telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 05 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?