Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
165 views
Hey guys, I was trying this approach, but couldn't get it to work.  My situation is different because my RadUpload is within the EditItemTemplate of a RadGrid's column.  Also, my grid is within a user control which does an ajax postback, so the user sees a loading panel while the document is being uploaded. I don't think that has anything to do with it, but it is a difference from the example.

What we're doing is listing all the documents attached to this person.  If they hit the "Add new record" button, one of the elements of my edit item is a RadUpload.  It seems to work very well, except when a very large document is attempted.  Then, after about 2 minutes, I get an HttpException that the max request length has been exceeded.

I am setting RadUpload's MaxFileSize to a configured value.  Currently, it's 1000 *1024 (1MB).  The file I'm testing with is 11,184 KB, but RadUpload fails to stop it there.

I found the link above.  Tried adding a RadProgressManager and RadProgressArea to my EditItemTemplate and throwing the javascript in my control to no avail.  The javascript is never getting invoked.  The example isn't clear as to how the RadProgress controls are tied to the RadUpload control.

Any ideas?

Thanks,

Scott

golddog
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
102 views
Hi

I have .js files in aspx page , but dynamically it create .axd file ,
this scriptsresource.axd file giving me error as offset.top() is null or not an object , can u please find solution to this problem.

thanks in advance
Rumen
Telerik team
 answered on 28 Nov 2011
7 answers
214 views

I'm going crazy with this one and hoping there's a good solution. I'd like the RadDataPagerButtonField to be centered within the RadDataPager control. Currently, it's left-justified (or floated). I've been playing with the rdpNumPart class but haven't been successful.

<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="RadListView1" PageSize="1" Skin="" CssClass="" >
    <Fields>
        <telerik:RadDataPagerTemplatePageField HorizontalPosition="LeftFloat">
            <PagerTemplate>
                <asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn" Text="Previous Review" CommandName="Page" CommandArgument="Prev" />
            </PagerTemplate>
        </telerik:RadDataPagerTemplatePageField>
 
        <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="7" />
                             
        <telerik:RadDataPagerTemplatePageField HorizontalPosition="RightFloat">
            <PagerTemplate>
                <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn btn-next" Text="Next Review" CommandName="Page" CommandArgument="Next" />
            </PagerTemplate>
        </telerik:RadDataPagerTemplatePageField>
    </Fields>
</telerik:RadDataPager>

Seems like this should be simple as it's a common layout. Thanks in advance for any help!

KDL
Top achievements
Rank 1
 answered on 28 Nov 2011
1 answer
91 views
Hi Telrik,

I have added Telerik Asyn Upload control inside Telerik Grid edit mode. When I open the page in IE 8 its working fine. But when i open the page in IE 6 the upload control is visible outside the grid. Can you please update on same?
Bozhidar
Telerik team
 answered on 28 Nov 2011
3 answers
175 views

Hi,

I need to get an example about implementing telerik with n2 cms

if someone can help me will be wonderful

i wanna know if is posible use telerik with n2 cms...

thanks a lot for reading...

Note: i'm a dummy using telerik 'cause i don't know nothing about that.

at least will be nice to get a north jeje i don't know how to use telerik rad controls i need an easy example...

please answer me people jeje thanks a lot again!!!
Jarrett
Top achievements
Rank 2
 answered on 28 Nov 2011
8 answers
208 views
I have a radgrid where the entire grid is created at run-time. The issue I'm having is related to what happens if filtering produces no results. The phrase "No records to display." is repeated 6 times, 1 line below the other, with the first 3 or 4 letters being cut from the line above. Please see attached screen shot. Any idea as to why this is happening and how to get it to stop?

Thank you.
~Robin
Vasil
Telerik team
 answered on 28 Nov 2011
9 answers
383 views
Hi,

When a date such as 30/02/1975 is manually entered into the text box of a RadDatePicker control, it is automatically changed to 28/02/1975 without giving any warning or error.

Our client wishes for the behaviour under such circumstances to be the same as if an invalid date is entered - i.e.if you enter 40/02/1975 the text box border is set to red and a warning icon appears.

Is it possible to alter the RadDatePicker behaviour so that it will treat dates such as 30/02/1975 in the same way as invalid dates (i.e. show the warning icon and red border)?

Regards,

Dave
Vasil
Telerik team
 answered on 28 Nov 2011
2 answers
259 views
Hi all,

I am using a RadTreeView and I want to have a functionality as follows: I need to have an option (a button or link) that 
when I click it I get a different view from the RadTreeView. The first view is just having a 'name' field from the database 
in each node, and the alternative view is to have the 'name' and then below the 'description' field also from the database.
Is it possible to change the NodeTemplate Dynamically or is there any simplier way to do this (like for example, having two 
different NodeTemplates and the making one or the other active).

Thanks,
Bruno
Bruno
Top achievements
Rank 1
 answered on 28 Nov 2011
4 answers
324 views
Hi all,

I have a bounded RadTreeView and I need to do the following: set the ImageUrl image file depending on the level of the tree 
(an image for the root nodes, a different image for the second level nodes, etc). How can I do that? Do I have to browse all 
tree nodes again after setting it with the data, creating a performance issue?

Thanks,
Bruno
Bruno
Top achievements
Rank 1
 answered on 28 Nov 2011
2 answers
147 views
I have a RadGrid with a detail table which I want to page if there are enough data.  The main table must also allow paging as well.

I saw how detail tables' data are cleared when the main grid is rebound.  That makes sense, so I checked whether we're coming from the detail table before setting the main's data source:
protected void grdGroupings_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
    if (!e.IsFromDetailTable)
    {
        grdGroupings.DataSource = AppealGroupingService.Find(null, grdGroupings.CurrentPageIndex + 1, grdGroupings.PageSize);
    }
}

Unfortunately, when DetailTableDataBind is raised, my current page index is always zero, defined by
grdGroupings.MasterTableView.DetailTables[0].CurrentPageIndex

Even though the DetailTable's pager moves to highlight #2 (or whatever I hit), CurrentPageIndex is always zero, so I request, receive and display the first chunk of information from my service, regardless of what's highlighted in the pager.

What's the right way to have a detail table hang onto its index for paging?

Thanks,

Scott

 

 

golddog
Top achievements
Rank 1
 answered on 28 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?