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

We are using a grid column and it's displayed correctly in the grid.
We have implemented an export function (using RadGrid1.MasterTableView.ExportToCSV();).
The resulting file is a CSV or excel without any value under the rating column.

Are there any known issue with the export of a rating column?

Thank you

Regis
Jayesh Goyani
Top achievements
Rank 2
 answered on 06 Aug 2011
3 answers
387 views
Hi All:

Like others, I am experiencing the following error in my orders selection grid. 
The state information is invalid for this page and might be corrupted.
   at System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
   at System.Web.UI.ViewStateException.ThrowViewStateError(Exception inner, String persistedState)
   at System.Web.UI.HiddenFieldPageStatePersister.Load()
   at System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
   at System.Web.UI.Page.LoadAllState()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Inner Exception Trace:   Invalid viewstate.
    Client IP: 127.0.0.1
    Port:
    Referer: http://localhost:52506/WebUI/OrderSelection.aspx
    Path: /WebUI/OrderSelection.aspx
    User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC EA 2; MALC)
    ViewState: /wEPDwULL...
 
Inner Exception Trace:   Invalid length for a Base-64 char array.
   at System.Convert.FromBase64String(String s)
   at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString)
   at System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState)
   at System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState)
   at System.Web.UI.HiddenFieldPageStatePersister.Load()

The grid allows filtering and contains 2 RadDatePickers.  If I change a value in the picker and press enter, I get the above error.  If I tab out of the field then no error.

I have tried EnableLinqExpressions="False", but no luck.

Phil
Phil
Top achievements
Rank 2
 answered on 06 Aug 2011
5 answers
503 views

Hi Guys

I am using the Chart control to display some dashboard summary data. The page area I have is not that large, so I need to maximise its use!

Issue: I want to remove the title and legend and stretch out the chart size and utilise the title and legend area!

Now I have removed the Chart title (set visible to false) and tried a number of settings on the Legend - (set visible to false, changed the legend position etc), although when I remove the title and legend, the space on the top for the title and on the right side for the legend is not utilised for chart I am displaying. I have also tried increasing the width and height of the chart, but again this increases the total canvas size and we are still left with the blank space on the top and right. I either need to be able to reduce the size of the canvas the chart sits on, or increase the chart size utilising the blank space on the right and top of the chart.

Can this be done?

I have attached an image of my graph for reference, and coloured blue the area I need to utilise.

Ashim
Top achievements
Rank 1
 answered on 05 Aug 2011
1 answer
212 views
Hai,

I have a Radgrid. In that I have a RadCombobox in a GridTemplateColumn. I want 
to access this RadCombobox inside javascript for some client side validation.

Please Help. Its very urgent

Please email the solution to me as Telerik forums and documentation links are not working in none of the browsers.( I am using Windows 7 and latest browser versions)

regeesh@kottsoftware.com

Thad
Top achievements
Rank 2
 answered on 05 Aug 2011
2 answers
395 views
Is there a simple way to add a custom attribute to a selected HTML element?

For example, I want to add an ID attribute to H1 tag for use with an anchor link.  I was using standard anchor tags, but the issue is that they are not visible in edit mode.  It makes working with anchors for non-HTML savvy people very hard.

Any ideas would be greatly appreciated.
Mark
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
72 views
Hi
I have a GridButtonColumn. When this button is clicked I need to access one of the cells in this row on the client side. How do I do this?

Thank you
Neelima
Pavlina
Telerik team
 answered on 05 Aug 2011
12 answers
164 views
Hi,

I'm looking into the OnClientDragEnd event of the radWindow control. I want to get the window to simulate a snap to grid. in the event, I've tried the using the following:

- sender.getWindowBounds().x
- sender.get_Left()

Both always return the position of the window before the drag. i've looked at the online demo, but it doesn't look at the co-ordinates. Is there another property I need to look at for the dropped left/top?

BTW: on the bottom of the screen for the demo, it mentions 2 parameters expected, but says "sender" is the tooltip, not RadWindow.

Regards

Bobby
LeBear
Top achievements
Rank 1
 answered on 05 Aug 2011
2 answers
194 views

I wanted to know if there is a solution to a radgrid issue with the shift key in multiselection. When i do a multiselection of rows with shift key pressed, the radgrid doesn't throw a postback when the shift key is released.

I was testing some alternatives with the onkeyup event over radgrid but doesnt work well with shift key (dont throw event until ctrl key is pressed) , instead the event it works better with the ctrl key.

However i would appreciate a better solution that doesn't imply handling the key events.

I been follow this issue in this threads

http://www.telerik.com/community/forums/aspnet/grid/how-to-capture-special-keys-ctrl-shift-click-in-server-side.aspx

http://www.telerik.com/community/forums/aspnet-ajax/grid/selection-with-shift-doesn-t-work-as-expected-strange-behaviour.aspx

Thanks in advance.

 

 

 

 

Nicolas
Top achievements
Rank 1
 answered on 05 Aug 2011
6 answers
146 views
Hi! 

In this thread I read about the animation feature with the set_currentItemIndex()-Method

So I tried it. But it does not work for me. Here is what I've done to get it work:

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="xmlDataSource1"
        FrameDuration="360000000" Width="675" ItemWidth="675" Height="265" ScrollDirection="Up"
        ItemHeight="265">
        <ItemTemplate>
            <div class="itemTemplate">
                <img src="Images/<%# XPath("filename") %>" style="border: 0px;" alt="banner" />
            </div>
        </ItemTemplate>
    </telerik:RadRotator>
    <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="banners.xml"></asp:XmlDataSource>
    <div class="nav">
        <a href="#" onclick="javascript:setNewContent(0);">Banner 1</a>
        <a href="#" onclick="javascript:setNewContent(1);">Banner 2</a>
        <a href="#" onclick="javascript:setNewContent(2);">Banner 3</a>
        <a href="#" onclick="javascript:setNewContent(3);">Banner 4</a>
        <a href="#" onclick="javascript:setNewContent(4);">Banner 5</a>
    </div>
here the js:
function setNewContent(selectedContentIndex) {
    // finding the radRotator
    var rotator = $find('<%= RadRotator1.ClientID %>');
 
    rotator.set_currentItemIndex(selectedRotatorItem, true);
}
But doesn't work. What I have to do? //EDIT: What does not work? -> The animation does not work... the banner changes but without animation 

Also it would be nice if you could show me how to turn off auto-scrolling, cannot find anything how to do this. 


Thanks in advance!


Julian
Julian
Top achievements
Rank 1
 answered on 05 Aug 2011
3 answers
90 views
I'm using RadConfirm on a linkbutton to confirm a delete action. Since firefox 5.0 the button doesnt seem to continue the delete event untill i click it a second time. So first it shows the confirm, if I click ok, it does nothing untill i the linkbutton again. On older versions of firefox (havent tested 4.0) , IE or safari no problem..

I'm using the 2010 Q3 release.

I took the telerik examples and changed the button in the example into a linkbutton and noticed that it also stopped working on firefox 5.0.
Is there a workaround for this problem?

Thanks
Jonathan
Marin Bratanov
Telerik team
 answered on 05 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?