Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
  When I have an inplace form displayed to enter new data. I have two dropdownlists in the form. I also have griditem rows displayed beneath the form. 
  Currently, when I hit refresh, I set the CurrentPageIndex=0 and the first griditem record displays. But the dropdownlists lose there text's and value's and are initialized to the "Select" text.
   1) Is there a flag (or property) I can check that will let me know that the Form is currently being displayed so I can know not to rebind the grid when I hit refresh. 
   2) In my itembound, the refresh comes in as a GridCommandItem, and I cannot seem  to access the GridEditFormItem dropdownlists to refresh them with the text's and value's I need.
     I have tried various cast's but no go. I am trying to figure out how to traverse the MasterTableView to access the Form Template items. is there a more straight forward approach ? Or a combination of cast's and FindControl's that I should be looking at ?
  How can I access the form items when the current cycle is for command items ?
  thanks for any help
  David
IQworks
Top achievements
Rank 1
 answered on 10 Mar 2009
1 answer
243 views
Is there not a way to hide a menu item from the server side?  If not i guess the only way to handle that is to load from xml and then remove the items we dont want a particular user to have.

Princy
Top achievements
Rank 2
 answered on 10 Mar 2009
2 answers
104 views
Hi,

I am getting an errr when i adding new editor control to my web page.

the error shows like

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.



Can anybody help me
Santhosh
Top achievements
Rank 1
 answered on 10 Mar 2009
3 answers
165 views
I want to stop a row from being selected on client side.

I can use RowSelecting event to do the cancel without any problem.
But it still un-higilight the currently selected row.
Is there a way to keep the current selected row as highlighted.

Shawn
Princy
Top achievements
Rank 2
 answered on 10 Mar 2009
1 answer
249 views
Hello!

It's possible to round number directly in RadGrid? I have grid and I dynamically create its structure. I get from my database numbers like 3.123456789 , but i need to show just 3.12
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2009
0 answers
84 views
I am using CustomizingRadUploadUI.
In aspx my code is as follows:

<

table width="100%" cellpadding="0" border="1" cellspacing="0">

 

 

<tr><td><rad:radupload SkinsPath="~/RadControls/Upload/Skins" id="Radupload1" runat="server" initialfileinputscount="1" />

 

 

<rad:radprogressarea id="RadprogressArea1" runat="server" displaycancelbutton="True"></rad:radprogressarea>

 

 

</td><td><div style="float:right;margin-right:9px;height:132px;width:250px;" class="module">

 

 

<asp:label id="labelNoResults" runat="server" visible="True">No uploaded files yet</asp:label>

 

 

<asp:repeater id="reportResults" runat="server" visible="False">

 

 

<headertemplate>Uploaded files:<br /></headertemplate><itemtemplate>

 

'<%

#DataBinder.Eval(Container.DataItem, "FileName")%>'

 

( '<%

#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>'

 

)

<br /></itemtemplate></asp:repeater>

 

 

</div></td></tr>

 

 

</table>

 

<

asp:button id="buttonSubmit" class="RadUploadButton" runat="server" text="Submit" />
I want submit button to display in same line of the Add button. How can I do this.

Snehal
Top achievements
Rank 1
 asked on 10 Mar 2009
3 answers
351 views
With a GridHyperLinkColumn do you go about setting the href title tag (to show as a tooltip in IE). 
I can Only See how to set the column heading.  

The end result is to set a generic title like "Click here for more detail"  on the Text rendered as the hyperlink for the column.

I am using Q3 2008.

Thanks,
Jason
Princy
Top achievements
Rank 2
 answered on 10 Mar 2009
0 answers
94 views

I am using CustomizingRadProgressAreaUI radUpload. Also I am using the UI from CustomizingRadUploadUI.
In the UI it is referring to the Removebutton Image.
aspx Code is as below:
<

table width="100%" cellpadding="0" cellspacing="0">

 

 

<tr><td>

 

 

<rad:radupload SkinsPath="~/RadControls/Upload/Skins" id="Radupload1" runat="server" initialfileinputscount="1" />

 

 

<rad:radprogressarea id="RadprogressArea1" runat="server" displaycancelbutton="True"></rad:radprogressarea>

 

 

</td>

 

 

<td>

 

 

<div style="float:right;margin-right:9px;height:132px;width:250px;" class="module">

 

 

<asp:label id="labelNoResults" runat="server" visible="True">No uploaded files yet</asp:label>

 

 

<asp:repeater id="reportResults" runat="server" visible="False">

 

 

<headertemplate>

 

Uploaded files:

<br />

 

 

</headertemplate>

 

 

<itemtemplate>'<%#DataBinder.Eval(Container.DataItem, "FileName")%>'

 

( '<%

#DataBinder.Eval(Container.DataItem, "ContentLength").ToString() + " bytes"%>'

 

)

<br />

 

 

</itemtemplate>

 

 

</asp:repeater>

 

 

</div>

 

 

</td></tr>

 

 

</table>

 

 

&nbsp;&nbsp;<asp:button id="buttonSubmit" class="RadUploadButton" runat="server" text="Submit" />

in .cs for handling UI of the RadUpload I have written code as below:

 

 

//Added by snehal -- Start

 

 

 

Radupload1.ControlObjectsVisibility =

ControlObjectsVisibility.None;

 

 

//Radupload1.ControlObjectsVisibility = ControlObjectsVisibility.CheckBoxes;

 

 

 

Radupload1.ControlObjectsVisibility |=

ControlObjectsVisibility.RemoveButtons;

 

 

//Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.ClearButtons;

 

 

 

Radupload1.ControlObjectsVisibility |=

ControlObjectsVisibility.AddButton;

 

 

//Radupload1.ControlObjectsVisibility |= ControlObjectsVisibility.DeleteSelectedButton;

 

 

 

 

//Added by snehal -- End

 

 

 

BindResults();

I want to change look and feel of the UI , bychanging image of the remove button and black color of the other buttons.
How Can I achive this?

Snehal
Top achievements
Rank 1
 asked on 10 Mar 2009
0 answers
69 views
When dragging a node from 1 radTreeview to another I frequently get this javascript error

"  '_145' is null or not an object  "

I have traced it to the line 21648 in telerik.webresource.axd.

I have had to turn off debugging in javascript to continue to programme. It appears to occur when a low level node (about level 4 or below) is dragged across another tree and an onblur event occurs. But the error is not consistent enough for me to reproduce reliably, although I have 2 large trees and can make it occur often enough after about 15 seconds of trying.
Ben
Top achievements
Rank 1
 asked on 10 Mar 2009
1 answer
75 views
     Whenever I try to set the ImageUrl property for any child item, Microsoft VS 2008 alwyas says: "Can not  transfer type 'Telerik.Web.UI.RadMenuItem' to type 'Telerik.Web.UI.ControlItemContainer'".  Why?  And what should I do?  Thanks. 
HsuKang
Top achievements
Rank 1
 answered on 10 Mar 2009
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?