Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
157 views

I have 3 items and after the 3rd menu item the menu just stops.  It should be a giant blank line until the table width is full.  My Skin is Telerik.  If I set my skin to Default2006 it works.

<

table width="960" border=0>

<

tr><td>test</td></tr>

<

tr><td>

<

telerik:RadMenu ID="RadMenu1" runat="server" Skin="Telerik"

DataSourceID="XmlDataSource1" DataTextField="Text" EnableOverlay="true"

DataNavigateUrlField="Url" Width="100%">

<

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

</telerik:RadMenu>

</

td></tr>

</

table>

Peter
Telerik team
 answered on 14 Apr 2008
4 answers
195 views
I have a Prometheus Menu control with a custom skin using a an xml data source which works well.  My next step is to change the css so that each menu option is a different color.  Does any one know how to set about donig this, to I add attibutes to teh nodes in teh XML if so what would the be.

Thanks
Paul



Simon
Telerik team
 answered on 14 Apr 2008
2 answers
154 views
In the folder

Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007

there are 2 folders called scripts and skins. What is the relevance of these folders?
Julian Roberts
Top achievements
Rank 1
 answered on 14 Apr 2008
3 answers
304 views
Dear all

I use RadGrid "Prometheus" for ASP.NET 
in  CommandItemTemplate i drag linkbutton that has proprity CommandName="UpdateEdited"

however when click this link when editig row it throw an exception
 
Only items with IsInEditMode set to true can be updated

what is this ? and hoe to solve this ?

<

telerik:RadGrid ID="RadGrid1" AllowMultiRowSelection="True" AllowMultiRowEdit="False"

Skin="WebBlue" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"

Width="500px" PageSize="14" AllowAutomaticUpdates="True"

AllowPaging="True" AutoGenerateColumns="False"

DataSourceID="dsCountry" ShowStatusBar="True"

AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True"

GridLines="None" style="margin-right: 8px">

<ExportSettings>

<Pdf PaperSize="Letter" FontType="Subset"></Pdf>

<Excel Format="Html"></Excel>

<Csv RowDelimiter="NewLine" ColumnDelimiter="Comma"></Csv>

</ExportSettings>

<PagerStyle Mode="Slider" />

<ClientSettings>

<Selecting AllowRowSelect="true" />

</ClientSettings>

<MasterTableView CommandItemDisplay="Top" DataKeyNames="CountryID" DataSourceID="dsCountry"

EditMode="EditForms" Width="100%">

<CommandItemTemplate>

<div style="padding: 10px 0px;">

<asp:LinkButton Style="vertical-align: bottom" ID="btnEditSelected" runat="server"

CommandName="EditSelected" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count == 0 %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Edit.gif" />

Edit Selected

</asp:LinkButton>

<asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Edit.gif" />

Update Country

</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" CausesValidation="false"

Visible='<%# RadGrid1.EditIndexes.Count > 0 || RadGrid1.MasterTableView.IsItemInserted %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Cancel.gif" /> Cancel editing</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert" Visible='<%# !RadGrid1.MasterTableView.IsItemInserted %>'><img

style="border:0px;vertical-align:middle;" alt=""

src="../Images/Grid/AddRecord.gif" /> Add new Country

</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Delete all selected Country?')"

runat="server" CommandName="DeleteSelected" CausesValidation="false"><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Delete.gif" />

Delete Selected Country

</asp:LinkButton>

&nbsp;&nbsp;&nbsp;

<asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid"><img

style="border:0px;vertical-align:middle;" alt=""

src="../Images/Grid/Refresh.gif" /> Refresh Countries

</asp:LinkButton>

</div>

</CommandItemTemplate>

<RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"

Visible="False">

<HeaderStyle Width="20px"></HeaderStyle>

</RowIndicatorColumn>

<ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"

Visible="False" Resizable="False">

<HeaderStyle Width="20px"></HeaderStyle>

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="CountryID" DataType="System.Guid"

FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="CountryID"

ReadOnly="True" SortExpression="CountryID" UniqueName="CountryID"

Visible="False">

</telerik:GridBoundColumn>

<telerik:GridTemplateColumn ColumnEditorID="0" CurrentFilterFunction="NoFilter"

DataField="ENLongDescription" EditFormHeaderTextFormat="New {0}:"

FilterListOptions="VaryByDataType" ForceExtractValue="None"

HeaderText="Engish Long Name" SortExpression="ENLongDescription"

UniqueName="ENLongDescription">

<EditItemTemplate>

<asp:TextBox ID="ENLongDescription" runat="server"

Text='<%# Bind("ENLongDescription") %>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ENLongDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="0" CurrentFilterFunction="NoFilter"

DataField="ARLongDescription" EditFormColumnIndex="1"

EditFormHeaderTextFormat="New {0}:" FilterListOptions="VaryByDataType"

ForceExtractValue="None" HeaderText="Arabic Long Name"

SortExpression="ARLongDescription" UniqueName="ARLongDescription">

<EditItemTemplate>

<asp:TextBox ID="txtArabicLongName" runat="server"

Text='<%# Bind("ARLongDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

ControlToValidate="txtArabicLongName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ARLongDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="1" CurrentFilterFunction="NoFilter"

DataField="ENShortDescription" EditFormHeaderTextFormat="New {0}:"

FilterListOptions="VaryByDataType" ForceExtractValue="None"

HeaderText="English Short Name" SortExpression="ENShortDescription"

UniqueName="ENShortDescription">

<EditItemTemplate>

<asp:TextBox ID="txtEnglishShotName" runat="server"

Text='<%# Bind("ENShortDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"

ControlToValidate="txtEnglishShotName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ENShortDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="1" CurrentFilterFunction="NoFilter"

DataField="ARShortDescription" EditFormColumnIndex="1"

EditFormHeaderTextFormat="New {0}:" FilterListOptions="VaryByDataType"

ForceExtractValue="None" HeaderText="Arabic Short Name"

SortExpression="ARShortDescription" UniqueName="ARShortDescription">

<EditItemTemplate>

<asp:TextBox ID="txtarabicShortName" runat="server"

Text='<%# Bind("ARShortDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"

ControlToValidate="txtarabicShortName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ARShortDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

</Columns>

<EditFormSettings ColumnNumber="2" CaptionDataField="">

<FormTableItemStyle Wrap="False"></FormTableItemStyle>

<FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>

<FormMainTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="3" BackColor="White"

Width="100%" />

<FormTableStyle CellSpacing="0" CellPadding="2" CssClass="module" Height="110px"

BackColor="White" BorderColor="#9966FF" BorderStyle="Solid"

BorderWidth="1px" />

<FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>

<EditColumn ButtonType="ImageButton" UpdateImageUrl="../Images/Grid/Update.gif"

EditImageUrl="../Images/Grid/Edit.gif" InsertImageUrl="../Images/Grid/Insert.gif"

CancelImageUrl="../Images/Grid/Cancel.gif" InsertText="Insert Order" UpdateText="Update record"

UniqueName="EditCommandColumn1" CancelText="Cancel edit">

</EditColumn>

<FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>

</EditFormSettings>

</MasterTableView>

</telerik:RadGrid>

Konstantin Petkov
Telerik team
 answered on 14 Apr 2008
2 answers
114 views
I use a modal radwindow on a page. I also use shortcuts ("AccessKey") on main page and on radwindow page. If you press a short cur on radwindow this affects also the shortcuts on main page. Means if you have a shortcut "A" on both pages and you press "Alt+A" on radwindow it happens that the control on main form weill be selected. This is not a very helpful behaviour and should be corrected.
Markus
Top achievements
Rank 1
 answered on 14 Apr 2008
9 answers
252 views

I have recommended my company to purchase RadControls "Prometheus" When I browse to the link to buy it, it takes me to RadControls for ASP .NET.

I guess this is because RadControls "Prometheus" is a beta release.

When will RadControls "Prometheus" be available for purschase?

If my company buys the RadControls for ASP .NET now, will it be upgradable or upgraded to RadControls "Prometheus" when it is released? 
 
Thanks,
Tal
Erjan Gavalji
Telerik team
 answered on 14 Apr 2008
2 answers
167 views
Hi i'm trying to insert a loading Image instead of just plain text for my TreeView LoadinStatusTemplate. The image shows but doesn't animate like it normally would in a browser window. Has anyone tried this and got it to work?

<telerik:RadTreeView ID="RadTreeView1" runat="server"   
                        style="height:expression((document.documentElement.offsetHeight - 20).toString() +'px');overflow:auto" 
                        CausesValidation="false" 
                        OnClientNodeClicking="onNodeClicking">  
                    <CollapseAnimation  Type="none" /> 
                    <ExpandAnimation   Type="none"/>  
                    <LoadingStatusTemplate> 
                        <img id="load" runat="server" src="/sims/Skins/Default/Ajax/loading4.gif" /> 
                    </LoadingStatusTemplate> 
</telerik:RadTreeView> 
Veselin Vasilev
Telerik team
 answered on 14 Apr 2008
3 answers
170 views

Telerik controls are unavailable to javascript when the page's startup script runs. I tried adding the startup script in Page_Load using the following methods:

1.    //Page.ClientScript.RegisterStartupScript(typeof(Page), "addScript", "SetReadOnly();", true);

2.    //RadAjaxPanel1.ResponseScripts.Add("SetReadOnly();");

3.    //RadAjaxManager1.ResponseScripts.Add("SetReadOnly();");

Please let me know what I need to do to access the page's Telerik controls in the startup script.

Pavel
Telerik team
 answered on 14 Apr 2008
1 answer
104 views
Hi,

I have a radplitter inside a table.
The slidingpane that I put inside the radsplitter does not expand.

In the code below, can anyone see any obvious errors?

Best regards,
Stig

<
telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical"
ResizeMode="AdjacentPane" SplitBarsSize="" Height="100%" Width="100%">
<telerik:RadPane ID="RadPane1" runat="server" Height="100%" Width="22px"
Scrolling="None" Collapsed="False">
<telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" Width="22px">
<telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title="Projekter"
Width="150px">
Projekter
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
Soren
Top achievements
Rank 1
 answered on 14 Apr 2008
1 answer
135 views
Hello to everybody,
I'm plannig to deploy RadControls of ASP.NET Ajax (I really think that "Prometheus" sounds better but is my personal opinion) on my existing web sites developed with the "old" RadControls for ASP.NET.
Now I have a folder called "RadControls" in the root of each of my websites with inside a directory for every control (editor,treeviews etc) and into I put a custom skin that my graphical team created with my brand color and style.
If I understand well the deployment of RadControls of ASP.NET Ajax will delete the RadControls directory, because it will include anything in only one DLL (cool thing).
If so, where will I put the custom skins? Where the translation of every controls? Finally, where the custom (o modified the basic one) dialogs of RadEditor?

Thanks for claryfing me that things. I'm exicitng to pass to the new version asap.


Gianluca
Rumen
Telerik team
 answered on 14 Apr 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?