Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
34 views
hi,
iam using radGrid control and i have the css ready for the grid skin.
can i add this in the list of the skins which rad will show as default so that i can use it whenever necessary .

venkat
Dimo
Telerik team
 answered on 11 Sep 2008
3 answers
100 views
I'm sure I'm missing the obvious but how can I get the value entere into the text box from this Rad Panel code?

Thanks in advance-
Danielle

<

telerik:RadPanelItem Text="Case Age Filter" runat="server">

<Items>

<telerik:RadPanelItem runat="server">

<ItemTemplate>

<asp:Label ID="lblCaseAgeFilter" runat="server" Font-Size="10pt" Text="Show cases older than X days:"></asp:Label>

<asp:TextBox ID="CaseAgeFilter" runat="server" Font-Size="10pt" Height="15px" Width="25px"></asp:TextBox>

</ItemTemplate>

</telerik:RadPanelItem>

</Items>

</telerik:RadPanelItem>

</Items>

<CollapseAnimation Duration="100" Type="None" />

<ExpandAnimation Duration="100" Type="None" />

</telerik:RadPanelBar>

Yana
Telerik team
 answered on 11 Sep 2008
3 answers
159 views
When entering text into the RadEditor, it doesn't render the text using my site's stylesheet until such time as the content is saved (even in "preview" mode).

For example, if i use the editor to create a bulleted list which has a custom bullet imagbe defined in my site/page's CSS, it displays with the default black bullet until usch time as i save the content / exit "edit" mode.

The same problem exists for font styles, link styles etc.

Could you please tell me if there is a way to get the RadEditor window to use my site's CSS by default?
George
Telerik team
 answered on 11 Sep 2008
1 answer
208 views
Hi there,

I have a RadGrid which I have created a custom EditFormSettings.  The item I am making available for edit has child records which I display inside the edit FormTemplate as a Listbox.  This listbox displays the current children for the item being edited as well as a listbox of options which the user can select one item which I want to add to the first listbox of current children.

What I am trying to do is use a server-side button inside the template to get the selected item from one listbox and add it to the other listbox of the items children.

So once the user clicks the button how do I get access to the listbox on postback?

Here is an example of my EditForm Template code.

                        <EditFormSettings EditFormType="Template">  
                            <FormTemplate> 
                                <table width='100%'>  
                                    <colgroup><col width='10' /><col width='420' /><col width='200' /><col width=* /></colgroup>  
                                    <tr> 
                                        <td></td>  
                                        <td> 
                                            <table width='100%' border='0'>  
                                                <colgroup><col width='30' /><col width='200' /></colgroup>  
                                                <tr> 
                                                    <td>Name</td> 
                                                    <td> 
                                                        <radI:RadTextBox ID="rtbAECName" runat="server" Text='<%# Bind( "AECName") %>' Width='190px'>  
                                                        </radI:RadTextBox></td>  
                                                </tr> 
                                                <tr> 
                                                    <td>Email</td> 
                                                    <td> 
                                                        <radI:RadTextBox ID="rtbEmail" runat="server" Text='<%# Bind( "Email") %>' Width='190px'>  
                                                        </radI:RadTextBox></td>  
                                                </tr> 
                                                <tr align=right>  
                                                    <td colspan="2">  
                                                        </td> 
                                                </tr> 
                                            </table> 
                                        </td> 
                                        <td> 
                                            <table><tr><td><asp:ListBox ID="lbAllCountries" runat="server" DataSourceID="odsCountries" 
                                                DataTextField="Country" DataValueField="ID" Rows="12" Width="220px"></asp:ListBox></td><td> 
                                                    <asp:Button ID="btnAdd" runat="server" Text="-->" OnClick="btnAdd_Click" /><br /> 
                                                    <asp:Button ID="btnRemove" runat="server" Text="<--" /></td><td> 
                                        <asp:ListBox ID="lbAssignedCountries" runat="server" Rows="12" Width="220px"></asp:ListBox></td></tr></table>   
                                                </td> 
                                    <td></td></tr> 
                                    <tr> 
                                        <td> 
                                        </td> 
                                        <td align="center" colspan="2">  
                                                        <asp:Button ID="btnUpdate" runat="server" Text="Update" CommandName="Update" /><asp:Button ID="btnCancel" runat="server" Text="Cancel" CommandName="Cancel" /></td>  
                                        <td> 
                                        </td> 
                                    </tr> 
                                </table> 
                            </FormTemplate> 
                            <EditColumn UniqueName="EditCommandColumn1">  
                            </EditColumn> 
                        </EditFormSettings> 
Yavor
Telerik team
 answered on 11 Sep 2008
3 answers
72 views
Hello,

I discovered some problems with last version 2.826 (and 828):

1) Demo for portal crashes frequently
2) Code for dynamicaly created docks is incomplete, the  DockPositionChanged handler is not in the code (I think it is never handled ???).

3) On my side, I have an application with a page very similar to dynamically created dock, but I was not using an updatepanel to do asynchronous calls for DockPositionChanged but RadAjaxManager as it is included in a Master page used by all my pages (RadAjaxManager and updatepanel were not coexisting).
All was working perfectly and as soon I was moving a dock, the DocPositionChanged was triggered asynch.
But now it is no more fired, I don't know why, I have done no change.
My solution was simply to put RadDockLayout containg the docks inside an asp panel , then to add to add each dock in RadAjaxManager with the asp panel as updated control.
To-day nothing is triggered when I move a dock, I am unable to store new dock position as before.
As using updatePanel with RadAjaxManager is not recommanded, and as I can't remove the global RadAjaxManager from the Master page, what to do ???

Thanks for help.
CS
Sophy
Telerik team
 answered on 11 Sep 2008
2 answers
79 views
Hello,

I have a standard RadMaskedTextBox on the same page as a RadFormDecorator.  In IE 6+, it appears that the textbox is rendering the mask as plain text.  When I type inside the textbox, it adds to the mask like so: (000) 00684460-0000.  It also causes the textbox to accept alpha characters on a strictly numeric mask.  Other features such as ResetCaretOnFocus aren't working either. Has anyone else experienced this?

My textbox resides within the same HTML element as my other standard textboxes so I don't think I can use the RadFormDecorators DecorationZoneID setting.

Here is an example:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="business_purchasing_orders_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server"
        </asp:ScriptManager> 
        <telerik:RadFormDecorator ID="RadFormDecorator1" DecoratedControls="All" runat="server" /> 
        <telerik:RadMaskedTextBox ID="RadMaskedTextBox1" Mask="(###) ###-####" PromptChar="0" runat="server"
        </telerik:RadMaskedTextBox> 
    </div> 
    </form> 
</body> 
</html> 

Are there any known workarounds for this, or do I have something wrong going on?

Thanks!

-Derek
Georgi Tunev
Telerik team
 answered on 11 Sep 2008
2 answers
88 views

 I have a radgid and some of labels on my form.

 I want to get the text of a couple of columns in the selected row and put those values in labels located elsewhere on the form.

 So my question is, what server side event should I use on the radgrd and then how do I get the text value of columns in that row.

 LabelLastName.text = selectedrow.column(“EmployeeLastName”).text

 Thanks for any help!

 Bill

Daniel
Telerik team
 answered on 11 Sep 2008
1 answer
119 views

I have a Hierarchical Grid with one child table. I'd like to have the ability to search for an item in all of the child tables. For example the master table has purchase orders, the child table has part numbers, I want to show all the PO's that have a part number of 123.

 I stumbled on the Search on Key Press Video in the video section and it works out great. I can do the search and everything comes up how I want it to.

 The question I have, is when I added in the search option in the commandItem Template, I lost the "Add" and "Refresh" buttons at the same time. I tried looking in the documentation and didn't see much on for wiring in buttons for those options. Is there a place that I missed that I can look at?

 Also, for searching the child table, is the way I'm going about it a any good or is there a better/quicker way of doing it?

 Thanks,

 Brett

Yavor
Telerik team
 answered on 11 Sep 2008
3 answers
102 views
My acsx file has a RadGrid that has
- MasterTableView
    - DetailTable, which uses a template.

I need to get something from the grid while im on the Load of theDetail View template

      

Anwar at NVizionSoft
Top achievements
Rank 1
 answered on 11 Sep 2008
1 answer
113 views
Hi all.

I'm currently working on a solution that involves defining the content of a custom-built control as a literal string. This means that certain portions of the site will not be server controls at all, but flat HTML, with normal static IDs. This will allow us to easily work with client-side javascript and JSON, and communicate with the server via a webservice.

I'm porting some of the old server-side aspx pages over to this new system, but have stumbled across a Rad Editor control. At the moment, the Editor tag would be reproduced exactly as it is defined on the page, and I'm guessing that won't work at all, as it's designed to be executed server-side and the resulting HTML returned.

Is there any way I can set up an editor control in client-side terms? The only thing I've thought of so far is to have a web method that can use a static class we have to execute an editor control in a page and return the resulting HTML, but I'm guessing it might not be that simple.

Any ideas?


Matt
Rumen
Telerik team
 answered on 11 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?