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

i want to get loading panel on radgrid selected index changed event how to do it
Shinu
Top achievements
Rank 2
 answered on 24 Mar 2011
1 answer
213 views
I have several RadNumericTextBoxes with Skin="", using the RadFormDecorator to apply the "Telerik" skin.  That is working fine.  However, when I try to show spin buttons - they are there, but invisible.  I can click to the right of the numeric text box and the numbers change up and down, but I can't see the arrows.  If I change the Skin to ="Telerik", the spin icons show up but the textbox does not skin, it goes back to standard textbox format.  Can anyone help me figure out how to get the spin boxes to show?  Thanks.

<telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"
           DecoratedControls="All" Skin="Telerik" />
 
                 <table id="FormTable" cellspacing="2" cellpadding="1" width="100%" border="2" rules="none"                      
                       style="border-collapse: collapse;"  frame="border" bgcolor="#EBEBEB">
                       <tr class="EditFormHeader">
                           <td style="font-size: small">
                               <b>Group Details</b>
                           </td>
                       </tr>    
                           <tr>
                           <td>
                               <table id="Table5" border="0" cellpadding="1" cellspacing="1" class="module"
                                           width="100%">
                                           <tr>
                                               <td>
                                               </td>
                                               <td>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   Meter Group:
                                               </td>
                                               <td>
                                                   <asp:TextBox ID="TextBox5" runat="server" Text='<%# Bind("GroupName") %>'>
 
                                           </asp:TextBox>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   Number of Meters in this Group:
                                               </td>
                                               <td>
                                               <telerik:RadNumericTextBox ID="rntbNbrUpgrade" Type="Number" runat="server"
                                                   DbValue='<%# Bind("NbrUpgrade") %>' Width="70px" 
                                                       NumberFormat-DecimalDigits="0" Skin="" Class="grideditcol1input" ShowSpinButtons="true">
                                               </telerik:RadNumericTextBox>
                                               </td>
                                           </tr>
                                       </table>
                                      
                                   </td>
                               </tr>
Martin
Telerik team
 answered on 24 Mar 2011
3 answers
172 views

I am trying to setup a datagrid inside a RadPanelItem template.
my setup is as follows (code is abreviated up to the grid)

<telerik:RadPanelBar> 
<Items> 
<telerik:RadPanelItem> 
<Items> 
<telerik:RadPanelItem> 
<ItemTemplate> 
<telerik:RadGrid ID="rgrdNBDetail" runat="server" GridLines="None" AutoGenerateColumns="false" PageSize="10">  
<ClientSettings> 
  <Scrolling AllowScroll="false" /> 
  <ClientEvents OnRowClick="rGrid_RowClick"/>  
</ClientSettings> 
<MasterTableView ClientDataKeyNames="ID">  
<Columns> 
<telerik:GridBoundColumn DataField="ID" Visible="false"</telerik:GridBoundColumn> 
<telerik:GridBoundColumn DataField="SPCX" Visible="false">
</telerik:GridBoundColumn> 
<telerik:GridBoundColumn DataField="SPCY" Visible="false">  
</telerik:GridBoundColumn> 
<telerik:GridBoundColumn HeaderText="Name" DataField="SiteName"/>  
<telerik:GridBoundColumn HeaderText="Distance" DataField="Distance"/>  
</Columns> 
</MasterTableView> 
<PagerStyle AlwaysVisible="false" /> 
</telerik:RadGrid> 
</ItemTemplate> 
</telerik:RadPanelItem> 
</Items> 
</telerik:RadPanelItem> 
... 

Notice I am not declaring a datasource as I will be binding this grid through a webservice on the client side.  After the webservice is called and I attempt to databind the grid, var tableView = datagrid.get_masterTableView();  it is not returning a tableView (value is null).
...   
var item = panelbar.findItemByValue('NBDetail');  
var datagrid = item.findControl('rgrdNBDetail');  
var tableView = datagrid.get_masterTableView();  
tableView.set_dataSource(data);  
tableView.dataBind();  
tableView.set_virtualItemCount(data.count);  
... 

What do I need to do to enable clientside databinding on the grid object inside the radPanelItem template?  It's appears that the TableView is not being created server side when it is located inside the template so I can not get a reference to it. (I moved the grid outside the panel and it works fine)  Is this the correct way to go about accomplishing this task?

Nikolay Rusev
Telerik team
 answered on 24 Mar 2011
3 answers
100 views
I am using RadGrid for AJAX, I cannot reserve row selection and status during paging, selected rows are deselected after leaving current page, the sample online has the same issue with both client-side and server-side selection. I am using client-side selection by the way. Any suggestions?

Thanks in advance!

Shan
Iana Tsolova
Telerik team
 answered on 24 Mar 2011
3 answers
115 views
Hi There,

I am using telerik:RadEditor. In this if i will copy and paste the table structure to my editor notes, i am able to do this. But when i am trying to copy an image and paste it in editor notes, i am unable to paste it. Let me know that whether it is possible to paste an image(.jpeg) in editor notes or not?

Regards:
Vimal Kumar Srivastava
Madhepura, Bihar
Rumen
Telerik team
 answered on 24 Mar 2011
1 answer
78 views
I have a tool bar in my rad grid with an command name of "Stock".  When a user selects a row and clicks on the button, I need to get the row details.

How can I get a hold of the details for the row selected?  I do have Postback on client selecting row, but I'm not sure that is correct.

protected

 

void grdProducts_ItemCommand(object sender, GridCommandEventArgs e)

 

 

{

 

 

if (e.CommandName== "Stock")

 

 

{
????

}
}

Princy
Top achievements
Rank 2
 answered on 24 Mar 2011
1 answer
72 views
Good day
 I am using the RADGRID control, established EditMode property to PopUp, I run it and it works very well, but the problem is with the style that is this window (not like), there is some way that the window has the same style as the RadWindow control?
Princy
Top achievements
Rank 2
 answered on 24 Mar 2011
2 answers
90 views
Hi all.

I've been using css to alter the default visible RadDock objects successfully (see styled1.png).
I've just been including whatever I can find in the inspector that's auto-generated and overwriting it using the (my) parent container .two20, for example:
.two20 .RadDock .rdTitleBar em
{
    font-family:Verdana, Sans-Serif;
    font-size:16px;
    color:#fff;
    font-weight:bold;
    padding: 0 10px;
    line-height:18px;
}
.two20 .RadDock .rdContent {font-family:Verdana, Sans-Serif;}

However I notice when I drag a widget, it reverts to it's old style (see styled2.png) - using the wrong font family, colour, size, etc etc.

I can't inspect while in dragging state, so I can't see what id/class it's using; I'm thinking there must be another container that's using different styles that I'm not overwriting and isn't generated until the drag starts (as I can't find it in view source either).

Where can I find the styles it's generating when a widget is in it's dragging-state?

Thank you :)
Ryan
Top achievements
Rank 1
 answered on 24 Mar 2011
2 answers
85 views
Hi All,

I want to move "PagerTextFormat" next to PageSize.
Is there any way to move "PagerTextFormat"  next to PageSize instead of showing rightmost corner.

Thank u

Avelyn Teh
Top achievements
Rank 1
 answered on 24 Mar 2011
2 answers
165 views
Hi all,

I have a RadDateTimePicker inside of a RadWindow which has smallish dimensions (400x500 pixels). I would like the pop-up to appear inside of this window, but instead it appears partially off-screen and causes weird resizing issues. How can I achieve this?

EnableScreenBoundaryDetection is set to true.
I tried playing around with the pop-up direction but didn't see what I wanted. It is currently set to upper-right.

Before/After shots attached.

Thanks for your help.

Sean
Top achievements
Rank 2
 answered on 23 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?