Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
53 views
Hello! 

I use a RadGrid that receives data from a webservice. The webservice returns items and count in "Count" property. But NumericPages pager shows only "1" in pager bar. I have a lot of items and pager should show several pages. NextPrevNumericAndAdvanced shows message "Displaying page 1 of 151, items 1 to 15 of 2261." in this case. It means that count is recieved correctly.

What's the reason of this NumericPages pager behaviour? How can I get it to work properly?

Thanks for your help! 

PS: Telerik.Web.UI.dll version is 2008.3.1105.35.
Maria Ilieva
Telerik team
 answered on 30 Aug 2012
1 answer
74 views
I've got a RadGrid in an UpdatePanel and I'm using a ScriptManager.  What's the earliest point in the page life cycle that I can detect I'm in an Ajax call, for example when a user clicks the edit button in the RadGrid?  Specifically, can I detect that the user has clicked the edit button (or any other Ajax action) at PreInit?  If so, how?

Thanks,
Kevin
Radoslav
Telerik team
 answered on 30 Aug 2012
1 answer
115 views
Hi Folks, 

Really looking forward to using the pivot grid, looks like a great feature. 

One concern/idea I have from sampling the demo's is the inability to select content from a single column.

When using pivot table's in a spreadsheet program, it allows the dataset to be filtered and grouped by specific columns and rows, your pivot grids allow for this, but when trying to select the data from one column to extract or copy the Telerik PivotGrid does not allow for this, it selects data from other columns on lower rows.

Unsure how easy it would be to allow for the user to be able to scroll to select the data from one column, but if this was not possible then perhaps check boxes to allow for row and column select to enable some way to extract specific data?

I know the pivot grids are new, so thought I'd put in my two cents and hopefully see something along these lines be implemented in the future.

Regards
Ryan
Radoslav
Telerik team
 answered on 30 Aug 2012
8 answers
627 views
I am having a Grid view where I will have a column with Status Y/N. If the status is N I will show a Pop up saying do you want to approve, If ok was pressed I would like to return true from Javascript and need to update my table and allow user to edit the details if cancel I would like to return false from Javascript and make edit false.

This is my script

<script language="javascript" type="text/javascript">
        function confirmCallBackFn(arg) {
            if (arg == true) {
                //should retun true
            }
            if (arg == false) {
                //should retun false
            }
        
    </script>

In my ItemDatabound I will have some code that will check for N . If found I will show a pop up as follows

rdwndwPersonal.RadConfirm("Are you sure?", "confirmCallBackFn", 300, 100, null, "My Confirm");

From here I would like to return true/false from script so that if true I will update my table if not I will make edit to false.
Eyup
Telerik team
 answered on 30 Aug 2012
5 answers
375 views

I am upgrading Telerik RadControls for ASP.Net Ajax from  2008.2.826 to 2009.2.701.  For the most part things seem to be working well except for a few skinning issues and one very nagging JavaScript error.

 

The JavaScript error I need some help on produces the following:

 

b.toUpperCase is not a function.

 

Sys.__upperCaseTypes[b.toUpperCase()]=this;  This is where it bombs (MicrosoftAjax.js)

Called by:

c.registerEnum(b,"TreeNodeExpandMode",{ClientSide:0,ServerSide:1,ServerSideCallBack:2,WebService:3}); (RadTreeViewSripts.js)

 

It seems like the object (b) being pass to the Sys.__upperCaseTypes does not implement the toUpperCase method.

 

Any help would be appreciated.

 

Thanks,

Andy Espinosa

Monster.com

Bozhidar
Telerik team
 answered on 30 Aug 2012
2 answers
227 views
i am having a Radgrid in my website application. I added a GridEditCommandColumn for allowing edit the data in grid. when i clicks on Edit link, it automatically creates update and cancel button. but I dont want to display cancel button. can u please suggest me an idea for make cancel button invisible??
Sanjeev
Top achievements
Rank 1
 answered on 30 Aug 2012
4 answers
223 views


Can someone show me how to retrieve data back from RadGrid row.  This should not be a night-mare, but it turn out to be.

And looks like we have no support here from Telerik, after we bought the products.

Thanks.
Sanjeev
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
113 views
I set the mastertableview header in ItemDataBound for both Master and Detail TableView.  But when I click to expand the details, the mastertableview header changed back to the field name.   And when I click the other expand button, the first details header also changed to fieldname.  Where should I put the headertext code in my code behind?  I am using vb.net.

Tks,

Radoslav
Telerik team
 answered on 30 Aug 2012
6 answers
132 views
I would like to get your suggestion to handle the following use case:
  1. The form is based on the ASP:Wizard for ordering map prints
  2. The user selects maps from a database, the selected maps are added to a cart stored as datatable in the session variables. The selected maps are shown in a RadGrid with the requested quantities.
  3. In the next wizard step: For those maps with more than certain copies, the user can upload overlay information to be printed on the maps. For each line in the RadGrid shown in this step an AsyncUpload control is displayed.
  4. Only after the user completes all of the required information such as delivery and payment the cart will be stored as a record in the database.

My questions:
  1. What will be the best practice to handle the files being upload until the cart is suppose to be stored in the database?
  2. How to avoid multiple uploads for the same item? Should I worry about it?
  3. How can I clear files when the purchase was not completed? 

Thanks,
Yoram
Yoram
Top achievements
Rank 1
 answered on 30 Aug 2012
1 answer
142 views
Let me see if I can explain this....

Using a MasterPage...

I have a RadGridView with ViewEditForm. When the form opens I have a RadButton that when pressed should open a RadWindow to display a page of additional details related to the main record.I need to be able to pass a parameter in so that the value can be added to the querystring of the URL. I have a hardcoded version of it working but I need to know how I can grab the parameter off of the ViewEditForm or from the grid row. The value is available from the text of a label (Label1) within the form where the button resides. This is the hardcoded version that works - I need to replace the 9953 in the onClientClicked portion with the dynamically retrieved value.

The aspx page:

 

<telerik:RadButton ID="btnTitleDetails" runat="server"
EnableEmbeddedSkins="False" Skin="Metro_BLT" Text="Title Details"
onClientClicked="function(sender, args){openRadWin(sender, args, '9953');}"
AutoPostBack="false" />

 

The Javascript from the masterpage: 

<script type="text/javascript">
  function openRadWin(sender, args, propId) {
    var url = location.href;
    var baseURL = url.substring(0, url.indexOf('/', 14));
    radopen(baseURL + "/TitleDetail.aspx?&propid=" + propId, "RadWindow1");
    }                                                                      
</script>
RealDeal
Top achievements
Rank 1
 answered on 30 Aug 2012
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
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
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?