Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
273 views
Hello,

I implmented, almost verbatim, the sample file upload and progress manager as described in your getting started document.
http://www.telerik.com/help/aspnet-ajax/upload_gettingstarted.html

The first couple uploads when running through Cassini were successful. However subsequent uploads result in UploadedFiles.Count == 0, when I break into the code and check the InvalidFiles.Count it shows a count of 1, files that I uploaded just a few minutes ago will no longer upload. Sometimes if I navigate to a new folder I have not uploaded from and pick a small text file it will upload, but larger files (anything over a few K) fail. I had modified my web.config to increase the maxrequestlength and requestLengthDiskThreshold both to 512000 and execution timeout to 7200.

I am using the controls inside of DNN 4.9. There is no ajax being implemented in the module, there is no url rewriting being done, and there is no file extension validation being done.

I verified that the progress handler was correctly registered and the progress manager does run for large files but they never save to my target folder. I also checked the following document and did not find a resolution.
http://www.telerik.com/help/aspnet-ajax/upload_troubleshootingnofiles.html

Thank you.
Genady Sergeev
Telerik team
 answered on 02 Sep 2009
2 answers
258 views
I have a radgrid, its populated using its need datasource event. Everything works fine.
In page prerender, i get some values & the grid rebind is called, bt the grid is nt refreshing at this time.
Plz help.
Mira
Telerik team
 answered on 02 Sep 2009
5 answers
141 views
Hi
I am running on ASP.Net 3.5 and i am using controls from AJAX Control toolkit 3 heavily. now i want to use HTTP Compression applied on my pages.
i tried every trick but with every module AJAX throwing error. is there a way i can have Compression with AJAX ??

please let me know if i am not sounding clear or you need any information.

Thanks,
Akhilesh Bhale
Sebastian
Telerik team
 answered on 02 Sep 2009
1 answer
183 views
Hello,

I'm using the RadGrid to show some information to select one, I'm using a column with an image. How is it possible, to show the hand cursor when the mouse moves over the image. The ASPX-Code of the column is the following;

<telerik:GridButtonColumn buttontype="ImageButton" buttoncssclass="imagebutton" confirmdialogtype="RadWindow" commandname="SELECT" commandargument="SELECT" imageurl="~/images/selectrow.gif" headerbuttontype="None" uniquename="RADColumn_Select">
            <ItemStyle horizontalalign="Center"></ItemStyle>
 </telerik:GridButtonColumn>

Thanks
Daniel
Telerik team
 answered on 02 Sep 2009
2 answers
125 views
Hello Telerik. I've recently started using RadTooltip and RadChart. I'm having a little trouble right now with displaying the tool tips on every progress point. Could you please help me on,  how to show RadToolTip dynamically on every progress point of Telerik RadChart?
AMI VDY
Top achievements
Rank 1
 answered on 02 Sep 2009
1 answer
126 views
dear all,

i have installed the telerik asp.net ajax controls.  at some point i started to get problems building my solution and after setting some references manually i got design time errors both being: reference to assembly could not be found.

my solution has been to remove the telerik components, and reinstall them selecting only the 3.5 version components. meanwhile i noticed that the assemblies for both .net versions (2.0/3.5) in my assembly cache have the same public key token. can someone tell me if this is causing my reference problem?

also, in the future i would like to be able to use both the 2.0 and 3.5 versions in different projects. is that possible without getting the reference problems i had before?

greets,

danny
Pavlina
Telerik team
 answered on 02 Sep 2009
1 answer
138 views
I have a radDockLayout which somehow has the e.Positions being empty.

 <telerik:RadDockLayout runat="server" ID="RadDockLayout1" OnLoadDockLayout="RadDockLayout1_LoadDockLayout" onsavedocklayout="RadDockLayout1_SaveDockLayout" storelayoutinviewstate="false"> 
                                       <div class="signature"> 
                                             
                                            <asp:Panel ID="pnlPreview" runat="server" CssClass="zones"></asp:Panel> 
                                             <br /><br /><asp:Button ID="btnSave" runat="server" Text="Save Layout"  />&nbsp; &nbsp;  
                                          
                                       </div> 
                                        
                                       <div class="preview"> 
                                            <asp:Repeater ID="rptContentType" runat="server" OnItemDataBound="rptContentType_OnItemDataBound"> 
                                                <HeaderTemplate><ul id="contentlibrary"></HeaderTemplate> 
                                                <ItemTemplate> 
                                                    <li> 
                                                    <h2> 
                                                        <span class="title"><%#DataBinder.Eval(Container.DataItem,"Title") %></span> 
                                                        <asp:Image ID="imgIcon" runat="server" CssClass="icon" /></h2> 
                                                        <telerik:RadDockZone id="radDockZone" runat="server" Height="150"></telerik:RadDockZone> 
                                                        <asp:Repeater ID="rptContentLibrary" runat="server" OnItemDataBound="rptContentLibrary_OnItemDataBound"></asp:Repeater> 
                                                    </li> 
                                                </ItemTemplate> 
                                                <FooterTemplate></ul></FooterTemplate> 
                                             
                                            </asp:Repeater> 
                                             
                                       </div> 
                                </telerik:RadDockLayout> 

  protected void RadDockLayout1_LoadDockLayout(object sender, Telerik.Web.UI.DockLayoutEventArgs e) 
        { 
            HttpCookie positionsCookie = Request.Cookies[Request["id"] + "CompanyEmailLayout"]; 
            if (!Object.Equals(positionsCookie, null)) 
            { 
                string serializedPositionsAndIndices = positionsCookie.Value; 
                if (!string.IsNullOrEmpty(serializedPositionsAndIndices)) 
                { 
                    JavaScriptSerializer serializer = new JavaScriptSerializer(); 
                    string[] positionsAndIndices = serializer.Deserialize<string[]>(serializedPositionsAndIndices); 
 
                    e.Positions = serializer.Deserialize<Dictionary<string, string>>(positionsAndIndices[0]); 
                    e.Indices = serializer.Deserialize<Dictionary<string, int>>(positionsAndIndices[1]); 
                } 
            } 
        } 
 
        protected void RadDockLayout1_SaveDockLayout(object sender, Telerik.Web.UI.DockLayoutEventArgs e) 
        { 
            JavaScriptSerializer serializer = new JavaScriptSerializer(); 
            string serializedPositions = serializer.Serialize(e.Positions); 
            string serializedIndices = serializer.Serialize(e.Indices); 
 
            HttpCookie positionsCookie = new HttpCookie(Request["id"] + "CompanyEmailLayout", 
                serializer.Serialize(new string[] { serializedPositions, serializedIndices })); 
 
            //Ensure that the cookie will not expire soon 
            positionsCookie.Expires = DateTime.Now.AddYears(1); 
            Response.Cookies.Add(positionsCookie); 
 
            if (IsPostBack) 
            { 
                //my codes 
 
            } 
        } 

The problem is ... somehow, when i click on the save button, and breakpointing into //my codes, the e.Positions and Indices have empty content. That's really weird. Am I missing something?


Alec
Top achievements
Rank 1
 answered on 02 Sep 2009
4 answers
126 views

Hi!

I have a multiview with a menu. When i click a menu item another view get's selectedI have a fileexplorer in that view. But somehow i get strange runtime errors. the following line is made yellow with the error null or not an object:

 

a.set_dataSource

 

(b.data);

If its on the first view everything is working fine.

Regards,
Marlou

 

Marlou
Top achievements
Rank 1
 answered on 02 Sep 2009
2 answers
72 views
Instead of using the built-in support of inserting/editing a record in a popup dialog, I would prefer to use an external web page. This allows me to do a lot more things that are either not possible with a popup or difficult to implement. I could not find an example the shows how this can be done. Essentially, when the "Add New Record" button is pressed (or the Edit button) in the grid, I need to popup my external page and handle the editing/inserting. On my external page would be a Save button and when pressed would close the page and cause the RadGrid to update itself with the newly created record or updated record.

Can you tell me how to go about doing this?

Thank you
Johann
Polaris431
Top achievements
Rank 1
 answered on 02 Sep 2009
1 answer
154 views
Hi

I Checked out the following link on creating the customised skin for using radstylesheetmanager control.

http://www.telerik.com/help/aspnet-ajax/radstylesheetmanager.html

In this article,in the bottom ,while illustrating the usage of radstylesheetmanager control.
Can you please explain where has the "Telerik" Skin declared or so..

Please explain on what basis is the Skin = "Telerik".

Thanks
Sudheer P.


Veselin Vasilev
Telerik team
 answered on 02 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?