Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
77 views
Hi,

     In My page , In order to add new record when i click on Add New Record , it is not woring for the first time. But if i click on the add new record for the second time, then it works. What could be the reason.
    Could you please suggest.

Regards,
Satya.
satya
Top achievements
Rank 1
 answered on 25 Jul 2009
3 answers
124 views
Hey Im trying to get rid of the 1 pixle border around the root level of the RadMenu but I'll be buggered if I can get it to go away.

I thought it would have been:
 .RadMenu_Web20 .rmHorizontal .rmSeparator .rmText,
.RadMenu_Web20 .rmVertical .rmHorizontal .rmSeparator .rmText
{
 height: 22px;
 margin: 1px 0 0;
 width: 1px;
}

or

.RadMenu_Web20 .rmRootGroup
{
 border: 1px solid #6788be;
 background-color: #93b4df;
}

but changing them doesnt seem to make any difference. Does anyone know the cssclass name that I have to override?

Cheers in advance,
Matt
Candace Sweigart
Top achievements
Rank 1
 answered on 25 Jul 2009
2 answers
150 views
I want to clear (or set to 0) a textbox value from the server side.  I tried just setting the value = 0, or the text = "0", but it doesn't update.  The controls are inside of a RadAjaxPanel, so I have a feeling I need to set the RadNumericTextBox to update somehow.  With Anthem, it was just UpdateAfterCallback.

Thanks,
Jamie
Jamie
Top achievements
Rank 1
 answered on 24 Jul 2009
0 answers
88 views
Greetings,

Please see the following article which illustrates drag and drop scenarios for a tree and grid:

http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/draganddropnodes/defaultcs.aspx

You will notice the code behind does not include scenarios where there is a master page, which redirects to a child page which may inturn call upon a separate control (ascx file).  This is the kind of setup which I have:

1)  MasterPage  Contains the RadTree
2)  ASPX page
3)  ASCX page which holds the RadGrid control displayed on the ASPX page

Given this kind of setup, I need to use a Handler but I'm not sure how it all should be referenced

Any ideas?
Thanks!
John
Top achievements
Rank 1
 asked on 24 Jul 2009
2 answers
53 views
Hi there,
I'm wounder the best way to go about this-
I'm trying to have a detail hierarchy using data from the master table. Essentially the master table is bound to a dataset that has quite a few collumns. The master table is going to show about 9 or so, but I want the details table to show another 9 that the master table does not have a bound collumn for. Any help, or link to where this is discused would be appreciated.

Thanks!
Adam
Top achievements
Rank 1
 answered on 24 Jul 2009
6 answers
120 views
*banging head against well*

  I have a RadEditor with simple text in it.  I do not have any tool bars or menu items and I would like to keep it that way.  However, I would like the user to be able to start a spell check.  My first thought was to have hitting F7 while in focus of the control.  This appears only to work when there is a tool entry providing this shortcut which means that the tool icon is shown (now what I want). 
  I next tried to put a RadSpell object near the RadEditor and set it up to check the RadEditor.  When I click on the link/icon for the RadSpell the checker comes up, but it doesn't seem to be looking at my RadEditor.  It always wants to replace something with the word 'framable.  Basically doing some very weird stuff.  On top of that, if I close the RadSpell with the X in the upper right it chooses to blank out the entire contents of my RadEditor.

  Does anyone have any constructive ideas as to how I can get the spell checker to run correctly and not have a menu item?
Alex Occhipinti
Top achievements
Rank 1
 answered on 24 Jul 2009
1 answer
87 views
Ok tried Q2 2009 version and it messed up the splitter control, so had to go back Q1 2009, fine with that. But can ANYONE help with FireFOX

I got the:

<telerik:GridBoundColumn DataField="Owner" DataType="System.String" HeaderText="Owner" HeaderStyle-Wrap="false"
                                         SortExpression="Owner" UniqueName="owner" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="false" HtmlEncode="false" DataFormatString="<nobr>{0}</nobr>">
                                    </telerik:GridBoundColumn>

WORKS LIKE A CHAMP IN IE7, and emulated IE7 for IE8 (cause IE8 SUCKS!!) anyway. Works for IE, no wrapping in the grid, in FIREFOX however, the text runs into th next column. Anyone know what I can do for FireFOx and Chrome? to stop the text from "running" into the other columns, what did you add to Q2's grid to stop this in IE8? so I can emulate for Q1?

I can't use Q2 09 yet because it totally screws up the splitters and google earth for IE7, not IE8...

This is my grid:

<telerik:RadGrid ID="RadGrid1" runat="server"
                            HeaderStyle-Font-Size="Small" Skin="Office2007" HeaderStyle-Wrap="false" AutoGenerateColumns="false"
                             AllowSorting="True" AllowPaging="true">                       
                             <PagerStyle Mode="Slider" />
                               <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" AllowDragToGroup="false">
                                <Resizing ResizeGridOnColumnResize="true" AllowColumnResize="True" EnableRealTimeResize="false" ClipCellContentOnResize="true"></Resizing>                            
                                <Selecting AllowRowSelect="True"></Selecting>
                                <ClientEvents   OnGridCreated="GridCreated" OnGridCreating="GridCreating" OnRowClick="RowDblClick" OnRowMouseOver="RowMouseOver" OnColumnClick="SortCommand"  />                                                 
                                 <ClientMessages DragToResize="Drag column to resize, settings saved automactically" />
                                 <Scrolling AllowScroll="true" EnableVirtualScrollPaging="false" UseStaticHeaders="true" SaveScrollPosition="true"></Scrolling>                                                                         
                                </ClientSettings>
                               <MasterTableView DataKeyNames="OID" ClientDataKeyNames="OID" TableLayout="Fixed" AllowMultiColumnSorting="false" Width="100%" AllowNaturalSort="false">
                               
Tim
Top achievements
Rank 1
 answered on 24 Jul 2009
7 answers
168 views
so i set transfermode = copy. that works great if i didn't have anything at the start for listbox2. but when i predefine both listboxes like this
listbox1
1
2
3

listbox2
2

it will still transfer 2 over. so how do i get it not too in client side. thank you for your help.
appdev
Top achievements
Rank 1
 answered on 24 Jul 2009
1 answer
98 views
Hi,

Is there a way out so that I can access the readonly column during editmode in ItemDataBound Event..? It is returning &nbsp; all the time.


If TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode Then
            Dim editItem As GridEditableItem = TryCast(e.Item, GridEditableItem)
,..............................
end if

Thanks a lot.

Milan G
Daniel
Telerik team
 answered on 24 Jul 2009
1 answer
87 views
I would like to use the RadInput control to create a numeric "spinner" so users can select a value between 0 and 25.  However, I haven't figured out how to do it.  I don't want the users to type, simple click on the up/down arrows to select a value

Can anyone give me a hint on how to fix my code that follows:

<telerik:RadNumericTextBox ShowSpinButtons="true" Label="HH:" runat="server" ID="ddHH"
 Width="100px" DataType="System.Int32" MaxLength="2" MaxValue="24" MinValue="0"
                                                    ReadOnly="True" Value="24" NumberFormat-DecimalDigits="0">
</telerik:RadNumericTextBox>
Daniel
Telerik team
 answered on 24 Jul 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?