Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
80 views
Hi there
i'm trying to apply CSS to my contents of the RadEditor , i'm sitting the Width property like this :
.A200 {    width: 200pt;   }
it works fine with IE * but it doesn't work in Google Chrome.
i tried to add the "!important" but in vain.
any suggestions anyone?
thanks
Rumen
Telerik team
 answered on 01 Jan 2010
7 answers
183 views
i have a background color for the rdContent cell and i want it to reach the border, seems it has a 6px margin or something. please see screenshot below.

Some help please.
Svetlina Anati
Telerik team
 answered on 01 Jan 2010
3 answers
135 views
My existing application uses RAD toolbars to run various server-side functions.

I now have a need to add a button that will print the current page, which I think would be a simple JavaScript "document.print()".

I've tried the following example copied from your documentation, just to teach myself how to connect to the client-side, which I have never learned, nor can I invest much in JavaScript.

Nothing happens, and I don't know why. I am using VS2008 on Windows Vista with IE8, all current updates, and the latest Q3 release of RAD/Ajax controls.

OOPS!, Sorry didn't notice the Format Code Block option before posting. TPG

 

<

 

script type="text/javascript">   (note VS2008 tells me a "type" is required, so I changed the script here)

 

 

 

function OnClientButtonClicked(sender, args) {

 

 

 

var button = args.get_item();

 

alert(button.get_text());

}

 

</

 

script>

 

<

 

 

telerik:RadToolBar id="RadToolBar1" runat="server" Orientation="Horizontal" OnClientButtonClicked="OnClientButtonClicked">

 

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

 

<Items>

 

 

 

<telerik:RadToolBarButton Text="button1" runat="server"></telerik:RadToolBarButton>

 

 

 

<telerik:RadToolBarDropDown Text="dropdown" runat="server">

 

 

 

<Buttons>

 

 

 

<telerik:RadToolBarButton Text="Button2" runat="server"></telerik:RadToolBarButton>

 

 

 

</Buttons>

 

 

 

</telerik:RadToolBarDropDown>

 

 

 

</Items>

 

</

 

 

telerik:RadToolBar>

 

 

Tomica
Top achievements
Rank 2
 answered on 31 Dec 2009
3 answers
143 views
Hello,

I have a RAD Grid that has several people's records and the first column is an ID (named SID)field.  What I want to do, is on a button click, build a comma delimited string of all the ID's in the Grid.  I have done this in VB but now need to convert it to C# and m having a bit of trouble with it.  It would be a bit simpler but I actually use the SID column as a link to each person's profile, so it's not as simple as somethinging like:

OwnerTableView.Columns.FindByUniqueName("SID").ToString(); (If I do this I get "<a href=/default.aspx?sid=XXXX>XXXX </a>" as the value, when I only want the XXXX part.

This is what I use in VB to make the string, I use the Data key values (which is the SID field).

Session("sidlist") = Nothing
        Dim SID_ListNewStudents As StringBuilder = New StringBuilder()
        For Each item As Telerik.Web.UI.GridDataItem In SelectedGrid.MasterTableView.Items
            SID_ListNewStudents.Append(item.OwnerTableView.DataKeyValues(item.DataSetIndex).Values(0))
            SID_ListNewStudents.Append(", ")
        Next

Any help would be great, Thanks!
Schlurk
Top achievements
Rank 2
 answered on 31 Dec 2009
4 answers
120 views
How can I remove the accruing weekly tally of weeks on the left hand side of the calendar?  What property would that be?  I'm using the raddatepicker.

Thanks!
wen
Wendy Hunt
Top achievements
Rank 2
 answered on 31 Dec 2009
2 answers
143 views
Hi experts,

we are facing challenges in converting an exisitng asp.net gridview to radgrid hosted by a radpanel.  below is the existing asp.net gridview code which we are trying to convert to radgrid.   Issue is we are not able to get the reference to the controls hosted by the radgrid for eg. Label)e.Row.FindControl("lblRole"), is always returning null. Please note that container for the radgrid is radpanel.  Tried looping the controls collection and finding the control by using ID (lblrole) but still noluck. any help is appreciated

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)  
        {  
            string strPrimary = string.Empty;  
            string sCopy = string.Empty;  
 
            if (e.Row.RowType == DataControlRowType.DataRow)  
            {  
                Label lblRole = (Label)e.Row.FindControl("lblRole");  
                RadioButtonList rbroles = (RadioButtonList)e.Row.FindControl("rbroles");  
                Label lbldelete = (Label)e.Row.FindControl("lbldelete");  
 
                rbroles.SelectedValue = lblRole.Text;  
                CheckBox chk = (CheckBox)e.Row.FindControl("chkUser1");  
 
                if (lbldelete != null)  
                {  
                    if (string.Compare(lbldelete.Text, "true", true) == 0)  
                    //if (lbldelete.Text.Equals("true",StringComparison.InvariantCultureIgnoreCase)  
                    {  
                        chk.Checked = true;  
                    }  
                }  
 
                if (hdnCurrenUserRole.Value.Length > 0)  
                {  
                    currentUserRole = Int32.Parse(hdnCurrenUserRole.Value);  
                }  
                if (currentUserRole == (int)Role.Owner || IsAdmin)  
                {  
                    rbroles.Enabled = true;  
                    chk.Enabled = true;  
                }  
                else  
                {  
                    rbroles.Enabled = false;  
                    chk.Enabled = false;  
                }  
            }  
        } 
Sharada Murali
Top achievements
Rank 1
 answered on 31 Dec 2009
3 answers
167 views
Hi,
I'm using the 2008 Q3 version of the controls.. I've a RadWindow having following settings:
<telerik:RadWindow ID="RwHelp" runat="server" Behaviors="Minimize, Close, Move" Width="800px"
                Height="600px" BorderStyle="None" BorderWidth="1px" VisibleTitlebar="true"
                Modal="false" KeepInScreenBounds="true" Title="Help" NavigateUrl="~/help/Manual.pdf"
                OnClientDragStart="RwHelp_ClientDragStart" OnClientDragEnd="RwHelp_ClientDragEnd"
                ShowContentDuringLoad="true">
</telerik:RadWindow>

as u can see I've set the NavigateUrl to a pdf file path... problem is this that when i minimize the radwindow, it gets shrink rather being getting docked.. and the pdf starts loading again..
this issue lies only in FireFox...

thanx in advance
Svetlina Anati
Telerik team
 answered on 31 Dec 2009
1 answer
142 views
Hi,

I have a default.aspx page and 3 other pages (left1.aspx, left2.aspx & right.aspx) my default web page is split into 2 (leftpane & contentpane). At the startup left1 is loaded into the leftpane & right into the contentpane. 

On postback in the contentpane I would like to update the leftpane with left2.aspx?x=1&y=2.

All help are appreciated.

    <form id="mainForm" method="post" runat="server"
        <telerik:RadScriptManager ID="ScriptManager" runat="server" /> 
         
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" > 
            <telerik:RadSplitter ID="RadSplitter2" runat="server" Height="100%" Width="100%" HeightOffset="126"
                <telerik:RadPane ID="ScreenPane" runat="server" Scrolling="none"
                    <telerik:RadSplitter ID="RadSplitter3" runat="server" LiveResize="true" Orientation="Vertical"
                        <telerik:RadPane ID="LeftPane" runat="server" ContentUrl="Left1.aspx" Width="270px" Scrolling="None"
 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="RadSplitbar1" runat="server" CollapseMode="Forward" EnableResize="true"></telerik:RadSplitBar> 
                        <telerik:RadPane ID="ContentPane" runat="server" ContentUrl="Right.aspx" Width="100%" MinWidth="650">     
 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadAjaxPanel> 
    </form> 
 
default.aspx


juststarting
Top achievements
Rank 2
 answered on 31 Dec 2009
7 answers
168 views
Hello,

I'm running 2009.2.826.35 and if I have AutoSize set to true. If I set the Animation property to anything but "None," the window doesn't autosize. It opens at ~ 300px by 300px.

This behavior is consistent on Firefox and IE.

Has anyone else seen this? Is there a workaround?

Autosize works fine with Animations set to None but it sure is boring! :)

Jeff
Svetlina Anati
Telerik team
 answered on 31 Dec 2009
4 answers
260 views
hi.
I have Grid Like This.
<telerik:RadGrid ID="RadGridLineCount" runat="server" GridLines="None" AllowPaging="True" HeaderStyle-HorizontalAlign="Right" 
                Skin="Office2007" PageSize="20" ShowFooter="True"
                <MasterTableView> 
                    <ExpandCollapseColumn Visible="True"
                    </ExpandCollapseColumn> 
                    <DetailTables> 
                        <telerik:GridTableView Name="UserPrivilage" DataKeyNames="pvgid" ClientDataKeyNames="pvgid" 
                            runat="server">                            
                            <ExpandCollapseColumn Visible="True"
                            </ExpandCollapseColumn> 
                            <DetailTables> 
                                <telerik:GridTableView Name="Clients" DataKeyNames="clientid" runat="server"
                                    <ExpandCollapseColumn Visible="True"
                                    </ExpandCollapseColumn> 
                                    <DetailTables> 
                                        <telerik:GridTableView Name="Accounts" DataKeyNames="accountid" runat="server"
                                            <ExpandCollapseColumn Visible="True"
                                            </ExpandCollapseColumn> 
                                            <DetailTables> 
                                                <telerik:GridTableView Name="Providers" DataKeyNames="providerid" ClientDataKeyNames="providerid" 
                                                    runat="server"
                                                </telerik:GridTableView> 
                                            </DetailTables> 
                                        </telerik:GridTableView> 
                                    </DetailTables> 
                                </telerik:GridTableView> 
                            </DetailTables> 
                        </telerik:GridTableView> 
                    </DetailTables> 
                </MasterTableView> 
                <ClientSettings EnableRowHoverStyle="True"
                    <Selecting AllowRowSelect="True" /> 
                    <ClientEvents OnRowContextMenu="RowContextMenu" /> 
                </ClientSettings> 
                <HeaderStyle HorizontalAlign="Right" /> 
            </telerik:RadGrid> 
here i want the custom aggregate for all the Columns.
initially i don't know the column name.
can any one help me how to do the aggregate to All Dynamic Columns.
and i want only the data type = Integer columns not for string columns.here i have one string data type column.

Thank You.
Suresh K.
Suresh K
Top achievements
Rank 1
 answered on 31 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?