Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
325 views
We have just upgraded the Telerik Ajax tools in the current version of our software to Q1 2013 from Q3 2010. We are pleased to note the improvement in the Async Uploader around chunking.

We see that the new properties are "DisableChunkUpload" and "ChunkSize". Does this mean that the older version we had was chunking at some chunk size we couldn't control? Or was it not chunking and there's been a change in default behavior between versions?
 
Can you explicitly state the behavior of RadAsyncUpload in Q3 2010 (chunking/non-chunking, if chunking then chunk size), so that we can have a record of the way our previous versions behaved? We can no longer find documentation for the old version.

--Christina
Hristo Valyavicharski
Telerik team
 answered on 02 Jul 2013
1 answer
91 views
Hi Team,

I am trying to export RadGrid data to PDF and using ExportToPdf method for the same.
But, ExportToPdf is not including the column headers in PDF Report when
- RadGrid's AutoGenerateColumns = "true"
- RadGrid is not having GridDataBoundColumn

Code Snippet:
<telerik:RadGrid ID="radABCReportGrid" runat="server" Width="100%" AutoGenerateColumns="true" Skin="Default" Visible="true" BackColor="White">
<ExportSettings ExportOnlyData="True" IgnorePaging="True" OpenInNewWindow="true">
<Csv ColumnDelimiter="VerticalBar" RowDelimiter="Comma" EncloseDataWithQuotes="true" />
<Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageBottomMargin="10mm" PageTopMargin="10mm" PageLeftMargin="10mm" PageRightMargin="10mm"></Pdf>
</ExportSettings>
</telerik:RadGrid>

NOTE: ExportToExcel works for the same with same properties.

Telerik: Telerik.Web.UI.dll , Vesion: 2011.1.413.40
Princy
Top achievements
Rank 2
 answered on 02 Jul 2013
1 answer
116 views
Hi,

I want to programm a hierachical grid with vb.net code (not asp.net code)

it should be like in the telerik example (see attachment)

I need a main grid (first datasource)
first tab (second datasource)
second tab (third datasource)

The databinding scenario is like this

MasterTableView
Detaitable with first tab
radgrid2
     radgrid2 should have detail table binded with datasource1.
second tab
     radgrid2 should have  detail table binded with dataSource2

Hope anybody could give me an example project


Manuel
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Jul 2013
2 answers
102 views
Dear friends,

I want my customer to add product images via grid, but not in edit mode.

grid will show the list of products as usual by using sqldatasource and user can upload images by dragging and dropping the image onto row. of course row should by highlighted to indicate to which product he or she is adding the image.

can anyone suggest something ? I could not succeeded what I tried so far.

thanks...
aykut
Top achievements
Rank 1
 answered on 02 Jul 2013
2 answers
224 views
I am trying to establish a master/detail relationship in my grid.  For a reason I can not understand, the detail row appears in every master record.  Can someone please point me to my mistake?

Here is my code:

<MasterTableView DataKeyNames="ID" DataSourceID="sqlBidDetail" EditMode="InPlace" CommandItemDisplay="Top" HierarchyLoadMode="ServerBind">
     <DetailTables>
          <telerik:GridTableView runat="server" AllowSorting="False" AutoGenerateColumns="True" DataKeyNames="DescriptionDetailID,BidDetailID" DataSourceID="sqlDescriptionDetail" EditMode="InPlace" CommandItemDisplay="Top" HierarchyLoadMode="ServerBind">
                <ParentTableRelation>
                        <telerik:GridRelationFields DetailKeyField="tblDescriptionDetail.BidDetailID" MasterKeyField="ID" />
                </ParentTableRelation>
           </DetailTables>
</MasterTableView>

and my 2 SQL data sources.

<asp:SqlDataSource ID="sqlBidDetail" runat="server" ConnectionString="<%$ ConnectionStrings:dbBidManager %>"
SelectCommand="SELECT tblBidDetail.ID, tblBidDetail.BidID, tblBidDetail.ULAID, tblBidDetail.ProductID FROM tblBidDetail" />
 
<asp:SqlDataSource ID="sqlDescriptionDetail" runat="server" ConnectionString="<%$ ConnectionStrings:dbBidManager %>"
SelectCommand="SELECT tblDescriptionDetail.DescriptionDetailID, tblDescriptionDetail.BidDetailID, tblDescriptionDetail.DescriptionTypeID FROM tblDescriptionDetail" />

There is a FK relationship between tblDescriptionDetail.BidDetailID and tblBidDetail.ID.  Note though that
tblDescriptionDetail.DescriptionDetailID is the primary key in that table.

Jon
Top achievements
Rank 1
 answered on 02 Jul 2013
1 answer
151 views
I am using AjaxToolkit to have popup for editing image. When I click on Crop or Resize button, the popup for imageeditor shows up behind AjaxToolkit popup. How do I make sure they show up on top?

I am using the latest 2013.2.611.40.
Marin Bratanov
Telerik team
 answered on 02 Jul 2013
1 answer
128 views
HI,

I am using Editor control in my application. I have some content in database has some links(site address) also but while loading the Editor with data it is displaying the site address but not with hyper links. How to enable links in Editor control please help me.


Thanks,
Marin Bratanov
Telerik team
 answered on 02 Jul 2013
1 answer
64 views
Hi,
unfortunately, some relevant functionality within RadGrid has been changed by you from version 2011 to 2013, that made the following things stop working:
1) paging in custom pager does not work anymore when other value has been set in the pagers' combo and then - navigating to different page: it resets to default value = 100 records per page
2) sorting does not work properly anymore, it's ignored when clicking the same column's header a second time sequentially
3) i have special custom buttons in template columns, they used to raise some popups and then, if confirmed, caused some postback action. Now it also does not work anymore.

And maybe other things I still have not noticed...

I cannot provide you with a sample for the moment, it's quite complicated to prepare it. I'd suggest you to tell what have you changed from the old verion to the new one, that could affect all this? What events I need to look at and maybe change something??
Alexander
Top achievements
Rank 1
 answered on 02 Jul 2013
1 answer
146 views
http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/functionality/filtering/defaultcs.aspx

hi sorry my english badly,

i want to use this demos with LinqDatasource in 300.000 rows 


thanks


Peter Filipov
Telerik team
 answered on 02 Jul 2013
1 answer
267 views
I have a grid where on the ItemDataBound event, Im using some custom checking on the columns based on a list of objects from my database to see if the column can be edited or not. For the ones that can be edited, I then created a RegularExpressionValidator for the table cell along with setting the maxlength of the textbox when its in edit mode. This works perfectly until when I go to update the record. The way Im doing it is to grab the edited cell, build a gridRow and then remove that currently selected GridRow (the one being edited) and insert the new one using the new values from the edited row.

Here is my regular expression building
GridEditableItem item = e.Item as GridEditableItem;
 
//this is within a loop for the columns and another loop for my custom objects (metaData)
//set edit textbox max length
item[column.UniqueName].Enabled = true;
TextBox txtbx = (TextBox)item[column.UniqueName].Controls[0];
txtbx.MaxLength = metaData.MaxFieldLength;
 
//set regular expression for validation
RegularExpressionValidator regex = new RegularExpressionValidator();
GridTextBoxColumnEditor editor = (GridTextBoxColumnEditor)item.EditManager.GetColumnEditor(column.UniqueName);
TableCell cell = (TableCell)editor.TextBoxControl.Parent;
 
editor.TextBoxControl.ID = "Validation" + column.UniqueName;
 
regex.Display = ValidatorDisplay.Dynamic;
regex.ControlToValidate = editor.TextBoxControl.ID;
regex.ForeColor = System.Drawing.Color.Red;
regex.ValidationExpression = @"^";
//custom regex expression building
regex.ValidationExpression = regex.ValidationExpression + @"$";
 
cell.Controls.Add(regex);


I get this values by during my grid_UpdateCommand event and call
//get selected row
GridEditableItem item = (GridEditableItem)e.Item;
//get values from the row
Hashtable newValues = new Hashtable();
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, item);


The row Im dealing with is working weird because during this call, the 2 columns textboxes that arent enabled (think like ReadOnly but the user can still see the values) are getting the new record values fine, but the 2 user editable textboxes are pulling back a null. When I turn the regular expression building off (comment it out), it pulls the records perfectly with all the column values. But when I have the regular expression building and checking on, it cant pull these values? Any reason why?
Angel Petrov
Telerik team
 answered on 02 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?