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

Hello, please help me.

I uses RadFormDecorator and i want to change the font family of button
I apply this css style

  

 

 

 

.RadForm_Sitefinity.rfdButton  input[type="button"].rfdDecorated
{
      font: normal 11px Tahoma, Arial, Sans-serif !important;
}

 

 

it change only font-style and font-size but the font family is not change.
please help me
thank you

 

 

 

 

 

big-O
Top achievements
Rank 1
 answered on 24 Mar 2011
3 answers
77 views
There is a context menu for the controls in a radgrid. Following is a part of client-side script for displaying the menu:
function contextMenu(sender, args)
{
        var evt = args.get_domEvent();
        var td = (evt.srcElement) ? args.srcElement : evt.target;
        var cols = args.get_tableView().get_columns();
        var col = cols[td.parentElement.cellIndex]; //-----> this is undefined
        var index = args.get_itemIndexHierarchical();
        document.getElementById("radGridClickedRowIndex").value = index;
        document.getElementById("radGridClickedColName").value = col.get_uniqueName();
        document.getElementById("radGridModifiedValue").value = td.value;
        //................
}

It is working fine for asp:textbox but not able to get 'CellIndex' for the Radnumerictextbox.
Daniel
Telerik team
 answered on 24 Mar 2011
2 answers
89 views
Hello,

I am having an issue where I have a grid with many columns and am attempting to use the HeaderStyle-Width property in the designer to set the initial column width.  When I do this, the table that contains the grid expands past its width.  Removing the HeaderStyle-Width properties causes each column to be very narrow.  Is there I way that I may control the width of the columns without having the surrounding HTML affected?  I am using contentplaceholders and other placeholders are also affected.

<asp:Content ID="GridContent" ContentPlaceHolderID="GridContent" Runat="Server">
<table border="0" cellpadding="0" cellspacing="0" width="520">
    <tr>
        <td>
            <div>
                <telerik:RadGrid ID="RadGridProgram" runat="server"
                        AutoGenerateColumns="false" AllowSorting="True" AllowPaging="true" Skin="Simple" ClientSettings-Resizing-AllowColumnResize="true"
                        ItemStyle-Wrap="false" Width="500" HeaderStyle-Wrap="false" PageSize="10"
                        OnNeedDataSource="RadGridProgram_NeedDataSource" OnItemCommand="RadGridProgram_ItemCommand">
                        <PagerStyle Mode="NumericPages" />
                        <ClientSettings>
                            <Scrolling AllowScroll="true" UseStaticHeaders="true"  />
                        </ClientSettings>
                        <MasterTableView TableLayout="Fixed" AllowMultiColumnSorting="true" DataKeyNames="ProgramID" ShowFooter="false" PagerStyle-AlwaysVisible="false" >
                            <NoRecordsTemplate>
                                <asp:Label ID="lblMsg" runat="server" Text="No Records found"></asp:Label>
                            </NoRecordsTemplate>
                            <Columns>
                                <telerik:GridButtonColumn ButtonType="LinkButton" HeaderText="Edit" CommandName="EditProgram" UniqueName="Edit" Text="Edit" HeaderStyle-Width="40" />
                                <telerik:GridBoundColumn HeaderText="Program ID" HeaderButtonType="TextButton" DataField="ProgramID" HeaderStyle-Width="80" />
                                <telerik:GridBoundColumn HeaderText="Prog. Collection. ID" HeaderButtonType="TextButton" DataField="ProgramId" Display="false" />
                                <telerik:GridBoundColumn HeaderText="Program Collection" HeaderButtonType="TextButton" DataField="ProgramCollection.ProgramName" HeaderStyle-Width="200" />
                                <telerik:GridBoundColumn HeaderText="Client ID" HeaderButtonType="TextButton" DataField="ClientId" Display="false" />
                                <telerik:GridBoundColumn HeaderText="Client" HeaderButtonType="TextButton" DataField="Client.ClientName" HeaderStyle-Width="150" />
                                <telerik:GridBoundColumn HeaderText="Program Name" HeaderButtonType="TextButton" DataField="ProgramName" HeaderStyle-Width="200" />
                                <telerik:GridBoundColumn HeaderText="Program Code" HeaderButtonType="TextButton" DataField="ProgramCode" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Description" HeaderButtonType="TextButton" DataField="ProgramDescription" HeaderStyle-Width="300" />
                                <telerik:GridBoundColumn HeaderText="Program Type Id" HeaderButtonType="TextButton" DataField="ProgramTypeId" HeaderStyle-Width="200" Display="false" />
                                <telerik:GridBoundColumn HeaderText="Program Type" HeaderButtonType="TextButton" DataField="ProgramType.ProgramTypeCode" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Domain Exp. Date" HeaderButtonType="TextButton" DataField="DomainExpDateText" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="SSL Exp. Date" HeaderButtonType="TextButton" DataField="SSLExpDateText" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Domain Name" HeaderButtonType="TextButton" DataField="DomainName" HeaderStyle-Width="250" />
                                <telerik:GridBoundColumn HeaderText="IPAddress" HeaderButtonType="TextButton" DataField="IPAddress" HeaderStyle-Width="250" />
                                <telerik:GridBoundColumn HeaderText="PM Name" HeaderButtonType="TextButton" DataField="PMName" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Developer Name" HeaderButtonType="TextButton" DataField="DeveloperName" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Job Number" HeaderButtonType="TextButton" DataField="JobNumber" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Adverse Events" HeaderButtonType="TextButton" DataField="HasAdverseEvents" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Pharmacy Lookup" HeaderButtonType="TextButton" DataField="HasPharmacyLookup" HeaderStyle-Width="100" />
                                <telerik:GridBoundColumn HeaderText="Fax" HeaderButtonType="TextButton" DataField="Fax" HeaderStyle-Width="100" />
                            </Columns>
                        </MasterTableView>
                </telerik:RadGrid>
            </div>
        </td>
    </tr>
</table>
</asp:Content>


Thanks,
Tom
Top achievements
Rank 1
 answered on 24 Mar 2011
1 answer
93 views
We are using Telerik.Charting.dll  in our SharePoint 2007 solution, we recently upgraded the solution to VS 2010 and  SP 2010, and we want to upgrade the Telerik.Charting.dll to current version which is "RadControls for ASP.NET Q1 2009" , could you please guid us in upgrading, we have upgraded the "Telerik.Web.UI.dll" file.

Thanks,
Kartheek
Giuseppe
Telerik team
 answered on 24 Mar 2011
1 answer
95 views
Hi

When I use the RadInputManager property builder, controls inside a form view are not listed in the list of controls.

How can I use the RadInputManager with a FormView?

Thx
Chen
Tsvetina
Telerik team
 answered on 24 Mar 2011
5 answers
134 views
Hi

I'm trying to create user page with modules inside raddocks.
My files (main skin):
                    <telerik:RadDockLayout runat="server" ID="rdlLay">
                        <telerik:RadDockZone runat="server" id="ContentPane">
                        </telerik:RadDockZone>
                    </telerik:RadDockLayout>

Container:

<telerik:RadDock runat="server">
    <ContentTemplate>
        <div class="ContentPane" id="ContentPane" runat="server">
        </div>
    </ContentTemplate>
</telerik:RadDock>

With such configuration DNN doesnt find ContentPane, moves module to other pane. Is any way to get it working?
Pero
Telerik team
 answered on 24 Mar 2011
5 answers
94 views
Hello,

I am using RadtabStrip with two tabs. Previously i had problem of executing the page life cycle of all active tabs when post back occurs in anyone of the tabs.
I followed this thread and replaced multipageview with place holder for usercontrols. I didn't use ViewState[""].
http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/dynamic-loaded-controls-keep-running-even-if-not-active.aspx

Our requirement is different. Unless user enters data in first tab and clicks button (Like wizard), user willn't be allowed to go to next tab.
I am able to do that. But, under button click, though the second user control is loaded on screen, the first tab is still in the selection mode.
How can I change the selection mode to second tab when I transfer the user from one tab to next using the code.

I tried doing this.
In the parent page.aspx: I have

<telerik:RadTabStrip ID="RadTabStrip2" EnableTheming="true" runat="server" OnTabClick="RadTabStrip2_TabClick"
         AutoPostBack="True" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab runat="server" Text="Simple control" Value="0">
                </telerik:RadTab>
                <telerik:RadTab runat="server" Text="Timer Control" Value="1"  Enabled="false">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip> 

Under Button click
            RadTabStrip tabStrip = (RadTabStrip)Page.FindControl("RadTabStrip1");
            RadTab Tab2 = tabStrip.FindTabByText("Timer Control");           
            Tab2.Enabled = true;
            Tab2.Selected = true;

Panel Panel1 = (Panel)Page.FindControl("Panel1");

            //Clear panel controls and add the newly loaded control
            Panel1.Controls.Clear();
            Panel1.Controls.Add(control);


I would like to attach the sample project. Could you pls let me know the process of attaching whole project.

Any help would be appreciated.

Thanks in Advance
Veronica
Telerik team
 answered on 24 Mar 2011
5 answers
254 views
Hi,

I was following the sample project on this thread:

http://www.telerik.com/community/forums/aspnet/grid/how-to-auto-scroll-down-up-a-radgrid.aspx

But I was wondering if there is a way to completely hide the vertical scroll bar when it is auto-scrolling up and down. Thanks.
Tsvetina
Telerik team
 answered on 24 Mar 2011
1 answer
100 views
I have a rad grid where one column has an enum value . Also a rad filter associated with the grid . 

Is it possible somehow provide a list of possible values for user selection during contracting a filed editor for this column ?  


Otherwise if it not possible , I would like to detect that user now constructing an expression for this column and display a tool tip describing which numeric value to enter instead of value of ENUM .

Thanks  
Martin
Telerik team
 answered on 24 Mar 2011
2 answers
90 views
I have an RadGrid (RadGrid2) inside a MultiPage that is in turn inside a NestedViewTemplate on a parent RadGrid (RadGrid1).  I need to use the NeedDataSource of RadGrid2 because I am doing inline editing of the items inside that grid.  The binding is relient on the DataKeyValue of the parent row of RadGrid1.  What I am wondering is what is the best approach to retrieving the DataKeyValue of the row from RadGrid1 from the NeedDataSource event of RadGrid2.

Any help would be greatly appreciated as I am on a deadline and I have been struggling with this for a couple hours now.

Thanks!

Cole
Cole
Top achievements
Rank 1
 answered on 24 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?