Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
Hi,

I am working on asp.net dynamicdata application.
In my application I am using DynamicRadGrid , and I want to export and import to latest version excel file(2007 format).

without modification the exported file is import to grid . but after modification of that file i am not able to do import operation.

and i found in some forums for latest version Excel Format=ExcelML but   it is also not working.

Please send me sample code with this fuctionality.




Kostadin
Telerik team
 answered on 16 Oct 2012
1 answer
102 views
Hi.

I am currently facing a problem with the export functionality of the RadGrid.
In my code i am automatically generating templatecolumns with controls inside (RadTextBox, RadCheckBox, RadComboBox and so on)

On my commanditemtemplate i have 4 buttons to export to PDF, XLS, DOC, CSV.
Everything works as expected in XLS (Format = ExcelML) but it fails on the other.

Problems i am facing are:
1.) PDF, DOC, CSV display a client selection column
2.) PDF, DOC, CSV dont display values from RadTextBox and RadNumericTextBox controls
3.) CSV doesnt display values from RadCheckBox controls

When i change my code to generate ASP TextBoxes (one line of code nothing more changed)...
1.) CSV still doesnt display values but PDF, DOC does
2.) PDF overlaps with client selection box (because width of column is 10 and the word "FALSE" is lager so it overlaps with following column), DOC looks fine


And a question how is it possible to export a grid in any given width to PDF?
XLS, DOC, CSV dont give a **** about the width of the grid but PDF seems to care and the grid overflows on the pagewidth end, and maybe on the pageheight aswell just dont have enough data to get 2 A4s right now

Hope you can help like to be able to export those 4 formats and have the same data result, styling can and will vary by format but atleast the data should be the same.

Btw, the grid on the page works fine - everything is displayed a expected.
Kostadin
Telerik team
 answered on 16 Oct 2012
3 answers
403 views
I have a templatecolumn with TextBox in the grid:
<telerik:GridTemplateColumn DataField="Translation2"   AutoPostBackOnFilter="true" ShowFilterIcon="false" UniqueName="ForeignTranslation" AllowFiltering="true" FilterControlWidth="200px" 
         HeaderText="Translation2">
             <ItemTemplate>
         <asp:TextBox ID="txtTranslationText"  AutoPostBack="true" runat="server" Height="44px" OnTextChanged="txtTranslationText_TextChanged" TextMode="MultiLine"  ></asp:TextBox>
               </ItemTemplate>
           <HeaderStyle Width="200px" />
</telerik:GridTemplateColumn>


OnTextChanged I saves the data, as long as the user types "< with any characters >", it will errored out :
"sys.winforms.PagesRequestManagerServerErrorException: an unknown error ocurred....". Please help how to avoid the error.
Kostadin
Telerik team
 answered on 16 Oct 2012
1 answer
75 views
I have VS 2010.  I downloaded and installed the latest ASP.Net Ajax installer.  That goes fine.  But upgrading a web site project continues to be very aggravating.  First time, it just locks up VS and I have to kill it.  Then, when I try again, using the upgrade wizard, it runs for several minutes, then shows the report that says it succeeded, but that is NOT true.  It replaces the .refresh files but fails to replace the actual dll in the bin folder.

Every upgrade I go through this and waste valuable time until I can get the project to correctly upgrade.  When will this process get better?  I love using your controls but this upgrading is a huge problem.

Note: machine is quad core, 8GB RAM, Windows 7
Petar
Telerik team
 answered on 16 Oct 2012
1 answer
226 views
Hi,

After clicking on refresh button i'm getting the below Error:
DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'From'.

My code is shown in  below Screenshot.

If i had any data in my text i was not getting any error.


Your inputs will help...Thanks in advance.
Pavlina
Telerik team
 answered on 16 Oct 2012
7 answers
176 views
Hi Folks,

Does anyone please know if it is possible to change the arrow icon on the splitbar? Reason being is that we have developed a web portal using the splitbars, but some users are having difficulty in clicking on the correct one when two splitbars are next to each other.

We have made the splitbars wider with the 'SplitBarSize' property but now need to implement our own expand/collapse icon if this is at all possible.

Cheers,
Ian W
Martin Roussel
Top achievements
Rank 1
 answered on 16 Oct 2012
5 answers
232 views
Hello, I'm having one issue with RadEdtior, well,
I already did like 10-15 projects with RadEditor, but,
I already have that problem on 2 of my other projects, one of them i do not remember what i did, because it was long time ago, but i solved it, another one, i got problem with urlrewriter, i solved it also,
now, i'm having that problem again,

i Already did alot of things that i found in the forum, changed the .aspx to axd,
also, commented all my urlrewriter, and checked if it's the problem, checked the webconfig to see if are something different from others projects and there is nothing different.
now i don't know what to do because i didn't found something different.
and all i found is invalid for me! =(

This is one picture of error,
WebConfig Is Missing

if Someone help me i'm grateful.

Rumen
Telerik team
 answered on 16 Oct 2012
5 answers
155 views
Please take a look at the screenshot I've provided.  Do you notice that there's not enough white space below the tab titles "Regular", "Cable Bolts", and "Reconditioning"?

I tried several approaches to fix this but could not figure it out.  How can I fix this?  Note: I do NOT want to use skins.

Robert
Robert
Top achievements
Rank 1
 answered on 16 Oct 2012
4 answers
142 views
Hi Team,

we are using radgrid inside a radajaxpanel and whenever we reload the ajax panel the filtermenu is displayed just below the radgrid. I want to know why is this happening and how to avoid it or how to hide it.
Here I am attaching the screenshot of the same.
Any help is highly appreciated.

Thanks,
Preetham
Preetham
Top achievements
Rank 2
 answered on 16 Oct 2012
2 answers
116 views
Can somebody point me to an example of resizing a RadGrid with:

Static Headers
Auto Layout
Ajaxified
Scrolling
WebBlue skin

I'm using this:

function GridCreated2(sender, args) {
            var RadGrid1 = $find(sender.ClientID);
            //RadGrid1.get_masterTableView().get_dataItems()[5].set_selected("true");
            var row = RadGrid1.get_masterTableView().get_selectedItems()[0];
            if (row) {
                setTimeout(function () {
                    var rowElement = row.get_element();
                    var scrollArea = RadGrid1.GridDataDiv;
                    if ((rowElement.offsetTop - scrollArea.scrollTop) + rowElement.offsetHeight + 20 > scrollArea.offsetHeight) {
                        scrollArea.scrollTop = scrollArea.scrollTop + (rowElement.offsetTop - scrollArea.scrollTop) + (rowElement.offsetHeight - scrollArea.offsetHeight) + rowElement.offsetHeight;
                    }
                    else if ((rowElement.offsetTop - scrollArea.scrollTop) < 0) {
                        scrollArea.scrollTop = rowElement.offsetTop;
                    }
                }, 200);
            }

But my data area collapse when I set the height to 100%
Pavlina
Telerik team
 answered on 16 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?