Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
174 views
HI.

I have been using the radcompression to compress viewstate for a while on an intranet based app. As the number of users has grown quite significantly the use of  RadSessionPageStateCompression is now causing problems - IIS seems to be recycling the app pool A LOT.

I looked at using instead but this actually increases the size of the page in our test environment (IIS 6 running without IIS compression). I have not tried it on the live system which is IIS7 WITH IIS inbuild compression turned on for dynamic pages.

if i remove the browser file the page is 127k, with RadHiddenFieldPageStateCompression it is 138k!


can someone please advise if this is an issue with the adapter?

ALso if anyone has any good suggestions on how to use Telerik.Web.UI.RadSessionPageStateCompression, but is able to handle 100ish concurrent users without causing teh app pool to reclycle frequently that would be very helpful too.

thanks

james
CSurieux
Top achievements
Rank 2
 answered on 11 Feb 2011
7 answers
434 views

Hi,
Can you suggest me CSS for changing the expand/collapse icon(image)  in RadGrid on grouping for Vista Skin..?

Regards,
Niraj Khose
Pavlina
Telerik team
 answered on 11 Feb 2011
4 answers
106 views

hello

In Telerik.Web.UI.dll v2010.1.616.35 I can use asyncUpload.UploadedFiles[0].ContentType correctly

but in new versions (I test Telerik.Web.UI.dll v2010.3.1317.35) always return Incorrect (=application/octet-stream) ContentType!

why?

Any solution to solve this problem there?

it's very important for me because i should use new version of Telerik.Web.UI.dll and also i should check ContentType instead of file extension

if users change file extension and send it, result of my work is incorrect and if send a virus or ... my website security is in danger

please help me

mastermehdi
Top achievements
Rank 2
 answered on 11 Feb 2011
3 answers
99 views
Hi,
   I would like to create a bar chart with the x-axis labels displaying Jan to Dec, but with the bar data being shown weekly.  Basically, I want 52 data points along the x-axis, but only 12 labels.  Is there an easy way to format this so that the labels are evenly spaced based on "12", not on some fraction of 52?

Thanks
Dave

Vladimir Milev
Telerik team
 answered on 11 Feb 2011
11 answers
102 views
We have a problem that the RadAjaxLoadingPanel seem to "drift" when you have worked with a page for a while. For example, we load a page containing one RadGrid, click edit and the loading panel will cover the RadGrid completely as it should. However, if you press cancel and the edit again, you will notice that the loading panel is now not 100% where it should be, covering perhaps 95% of the RadGrid but not all of it. This behaviour is only visible in FireFox (latest version) but not IE, Opera etc. and we are using 2010.3.1317.40 of Telerik.

We have tried changing a lot of settings everywhere but we don't seem to be able to find a solution for it, it seems like as soon as we do anything that changes the height (we don't change widht) of the RadGrid, like pressing edit with EditForms enabled, it starts drifting.

We really have no more clues what do to or try here, any ideas?
Maria Ilieva
Telerik team
 answered on 11 Feb 2011
3 answers
80 views
Hi, I recently purchased the Ulimate Collection and have started working with the RadGrid as I'm developing a KPI for Sharepoint WSS (2007). I have come across, what I think is a bug in the control and I can replicate it easily now as I have played around with it for the last 3-4 days.

Keep in mind that I am creating this control entirely in a class that inherits from WebPart. This can be either Microsoft.SharePoint.WebPartPages.WebPart OR System.Web.UI.WebControls.WebParts.WebPart. They are both derived from the same parent so I don't think this is the issue. At least I HOPE not.

Issue #1
The following code does NOT render the Header Image OR Text at all! Nothing! So I can't sort on the column.
If I change the ShowSortIcon to = true, then I get the Image to display in the header. This leads to Issue #2 and then Issue #3 which is the killer.

_radGrid = new RadGrid
 {
     ID = "telerikInspections",
     DataSource = _siteSpecificAreas,
     AutoGenerateColumns = false,
     AllowPaging = false,
     EnableViewState = true,
     AllowSorting = true,
     ShowHeader = true,
     ShowFooter = true,
     ShowStatusBar = false,
     GroupingEnabled = false,
     ShowGroupPanel = false,
     Skin = "Forest"
 };
  
gbc = new GridBoundColumn
 {
     UniqueName = "CountPendingInspection",
     DataField = "CountPendingInspection",
     HeaderImageUrl = "/_layouts/images/custom.images/Purple-P-16.png",              
     ShowSortIcon = false,
     HeaderText = "Pending Inspection",
     Aggregate = GridAggregateFunction.Sum
 };
 _radGrid.Columns.Add(gbc);

Issue #2
So I have the above code with 2 other columns to the right of it. Just Grid Bound Columns with Text Headers, NOT Image ones.

Scenario.
1. I click the Column with the Image in the Header to sort it and it works nice. I get the Sort Icon too. All is good. The column is highlighted.
2. I click it again to sort it the other way and it works. The column is highlighted
3. I click it a 3rd time and it's now unsorted and the column is no longer sorted and hence NOT highlighted. Still all is good.
4. Now this is where it goes wonky. I click the same column a 4th time, note it is once again sorted and highlighted.
5. Now I click the column to the right BUT the focus jumps to the 3rd column!!

What I think is happening is that the SortIcon, along with the Header Image, is causing an offset in the number of controls in the header, which is forcing the focus to jump to the next column to the right. I hope there is a work around to this because it will confuse the users for sure.

Moreover, there is a more serious issue to this

Issue #3!!  (die, die, die)
If I add columns to the left of the Image Header Column and start sorting those, within 2 clicks it blows up in my face with the following error.

An error has occurred because a control with id 'Inspections1$telerikInspections$ctl00$ctl02$ctl00$ctl05' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error. 

It's not always the same id, but it ALWAYS blows up. If I remove the HeaderImageUrl attribute then all is fine and dandy and the sorting works 100%. But as soon as I re-introduce a column with an image in the header it blows up, or I get that strange offset to the right of the image header column.

The important thing to remember here is that the when I have, say 4 columns (1,2,3,4). If column 2 is the image header column then nothing blows up (just acts strange) UNTIL I click that column to the LEFT (number 1) of the Image column!

One more interesting thing to mention is that if EnableViewState is set to False for the Grid then the sorting on the Graphic header does not work, however it will work on the Text Headers, but ONLY on the Text headers to the right of the Graphic headers

This has been a long hard slog to get to this point, but I know (1000 million%) how to reproduce this Problem so I'm looking for some serious help here. Please and Thank You.

Best Regards
Dave Stuart
Dave
Top achievements
Rank 1
 answered on 11 Feb 2011
3 answers
861 views
Hi,
    Recently, I found an issue that when an image is corrupted, and we try to assign it to RadBinaryImage, we get error "Parameter is not valid". Thats OutOfMemory exception, seems .NET can't load image properly then. However, this cause ASP.NET application to throw an "unhandled" exception.

   I wonder, if it was possible for telerik component to validate the image as it was assigned to it (like DataValue property) and throw an exception to indicate that assigned value is NOT a valid image. Currently, I have to load image, and if loads successfully, then I use my routine to convert the image to bytes and assign to DataValue property. 

   Though I see many threads on this topic "Parameter is not valid", as per I know, its "mysterious" ASP.net message and most of the time, caused by OutOfMemory exception. I wonder if this "check of validity of image" should be implemented in other controls of telerik, like reporting etc.

   Thanks,
   Sameers
Mira
Telerik team
 answered on 11 Feb 2011
1 answer
61 views
Hello in my radgrid grid sorting not working proper

my column value likes this
99
88
65
888
8
94
now sorted reslut
99
94
88
888
8
65
its wrong i need output likes this
888
99
94
88
65
8

don't know why this happened, Here i attached screen shot for this
 
Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Feb 2011
1 answer
89 views
Hi,

I wanted to pass RadSchedulerRecurrenceEditor's recurrence rule to into the RecurrenceData field of a sharepoint's calendar list item. RecurrenceData Field expects a XML format of Recurrence rule.  Could someone help me to resolve this. It would be great if someone shares the code. Its really urgent.

Thanks, Mulagundla
Veronica
Telerik team
 answered on 11 Feb 2011
3 answers
85 views

Hi

I have a RADGrid with one button column and rest bound columns as follows;

<telerik:RadGrid ID="DocsList" runat="server" AllowPaging="True" GridLines="None"
    OnNeedDataSource="DocsList_NeedDataSource">
    <MasterTableView AutoGenerateColumns="False">
        <Columns>
            <telerik:GridBoundColumn FooterText="Document" UniqueName="Document" SortExpression="ContactTitle"
                HeaderText="Document" DataField="Document" Resizable="true">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn FooterText="Index" UniqueName="Index" HeaderText="Index"
                DataField="Index" Display="false">
                <ItemStyle Width="0px" />
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn FooterText="MediaURL" UniqueName="MediaURL" HeaderText="MediaURL"
                DataField="MediaURL" Display="false">
                <ItemStyle Width="0px" />
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn FooterText="View" ButtonType="ImageButton" UniqueName="View"
                HeaderText="View" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"
                CommandName="Select" DataTextField="CustomerID" ImageUrl="~/Resources/Images/submit.png">
                <ItemStyle Width="20px" />
            </telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

I have a few questions;

1. How can I attach an onclick event to the buttons in the button column so when a button in a row is clicked then value of one of the bound columns in the same row is returned?

2. The button images' seems to have an annoying shadow (image1.jpg attached). How can this be removed?

3. When this web page is being viewed in browser and browser window is scaled down the buttons start to crop instead of grid rescaling to allow the button to remain fully visible (image2.jpg attached). How can this be fixed?

Many Thanks

Regards

 

Mira
Telerik team
 answered on 11 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?