Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
184 views
How can I disable scroll bars on RadDocks and RadDockZones?

The scroll bars show automatically every time the content inside is larger than the dock and I don't seem to be able to keep this under control.

Thank you!
TelerikUser
Top achievements
Rank 1
 answered on 25 Sep 2009
0 answers
44 views

Hi
Please find me the solution, Rad upload is not looking good in Mozilla browser it is showing the black spot in the right side of the control and some time it is not uploading the image. So please give me solution.

Thanks & regards
Pankaj Tyagi
pankaj
Top achievements
Rank 1
 asked on 25 Sep 2009
2 answers
135 views
Hello,

I have an ASP.NET applcation that i want to convert over to using the Telerik controls and i'm wondering if anyone has configured a tag list comparison of the 2 approaches?

For example in ASP.NET you would specify:

<asp:BoundField


and in Telerik you would specify:
<Telerik:GridBoundColumn

i believe.

So has anyone seen such a list by any chance?

Thanks very much!
Bob
Top achievements
Rank 1
 answered on 25 Sep 2009
4 answers
165 views
Hi, its my first time to use Radeditor. I was just wondering if I can change some text color during preview mode using some of my custom tool.
Heres the situation. Text are already created by other user and the only modification that this page will do, is to do some text highlight and color change. If they are going to do this in design mode they can alter the text by adding and removing some. So I just wanted to make the changes in preview mode only or maybe a readonly but when they do some text hightlight and clicking my custom button it will update the preview... Is there a way that this can be done? Any inputs would be very much appreciated.

Im using ASP.NET AJAX Q1 2009

Thanks in advance,
RJ
RJ
Top achievements
Rank 1
 answered on 25 Sep 2009
1 answer
167 views
Where can i find some examples of using a RADUpload in a grid that doesnt use GridBinaryImageColumn
Im storing the URL of the image, not the binary contents of the image itself

The method im using doesnt work as UploadedFiles are always zero, heres how Im trying to make it work, in my grid

<telerik:GridTemplateColumn HeaderText="Image File" UniqueName="ImageUpload">  
                        <ItemTemplate> 
                        <asp:Label ID="LabelImage" runat="server" Text='<%# Eval("FileName") %>'></asp:Label> 
                        </ItemTemplate> 
                        <EditItemTemplate> 
                                <telerik:RadUpload ID="RadUploadImage" runat="server"   
                                InitialFileInputsCount="1" MaxFileInputsCount="1" 
                                ControlObjectsVisibility="None" MaxFileSize="100000"   
                                AllowedFileExtensions=".jpg,.gif,.jpeg" TargetFolder="~/Uploads"/>  
                        </EditItemTemplate> 
                    </telerik:GridTemplateColumn> 

and then in my codebehind

protected void RadGridPanelImages_InsertCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)  
        {  
            var editableItem = ((GridEditableItem)e.Item);  
            string thumbURL = string.Empty;  
            string ImageURL = string.Empty;  
            string url = TheCompanyBL.Helpers.GetSiteURL();  
            string ImageUploadURL = url + "/Uploads/";  
              
 
              
            RadComboBox rcb = (RadComboBox)e.Item.FindControl("RadComboBoxPanelID");  
            if (rcb != null)  
            {  
                ip.PanelID = int.Parse(rcb.SelectedValue);  
            }  
            else  
            {  
                ip.PanelID = -1;  
            }  
              
            int id = -1;  
            RadUpload ru = (RadUpload)e.Item.FindControl("RadUploadImage");  
            if (null != ru)  
            {  
                string target = Server.MapPath(ru.TargetFolder);  
                string sFileType = ru.UploadedFiles[0].GetExtension(); ---  this generates an error even though I HAVE selected a file  
                  
                        ip.FileName = ru.UploadedFiles[0].FileName;  
                        imagemanager.ResizeAndSave(ru.UploadedFiles[0], ImageUploadURL, target, "PanelImages", true, out thumbURL);  
                        imagemanager.ResizeAndSave(ru.UploadedFiles[0], ImageUploadURL, target, "PanelImages", false, out ImageURL);  
                        ip.ImageURL = ImageURL;  
                        ip.ThumbnailURL = thumbURL;  
                      
            }  
 
            if (!String.IsNullOrEmpty(thumbURL) && !String.IsNullOrEmpty(ImageURL))  
            {  
                string err = panelmanager.Add(ip, out id);  
            }  
             
 
        } 
Atanas Korchev
Telerik team
 answered on 25 Sep 2009
1 answer
113 views
Hi

I have a RadAjaxManager on my page, and I'm trying to do some manula validation, which wont work.

I have narrowed down the broblem such that even the simplest confirm box doesn't work as expected.

I have the following on a Button -

OnClientClick

 

="return confirm('Are you sure you want to post back to the server?');"

 

 


When I click the button, I get the pop up but neither option (OK or Cancel) allows the page to postback.

This might not be an AJAX problem, but would be grateful for any help.

Andy

PS _UPDATE - I've just removed the RadAjaxPanel and it submits OK, so there is some interaction between the onclientclick of the button and the ajaxmanager.
Pavlina
Telerik team
 answered on 25 Sep 2009
1 answer
125 views
Hi All,

Im using the radupload to upload images to a site which will be used as images for a website. I want to prevent against GIFAR attacks and I'm wondering what action I can take to prevent these. I am currently using the radupload to only allow uploads of png,jpg and gif images, I then simply resave the images to my chosen destination, is this enough to prevent these attacks? If not what can I do?

Thanks in advance.
T. Tsonev
Telerik team
 answered on 25 Sep 2009
1 answer
148 views
Hi,

I would like to populate the recources client side instead of serverside.
Now the serverside method works fine for this.

But when i'm trying to add a javascript method to the OnClientResourcesPopulating property and remove the serverside method from the OnResourcesPopulating property.

This clientside event will not be handled. I tried to show a javascript alert in this javascript function but notting happens.
I have the same problem with the OnClientAppointmentInserting event.

All the other clientside events i'm using are working fine. For your information we are using the scheduler with webservices.
Peter
Telerik team
 answered on 25 Sep 2009
5 answers
394 views
I have a grid that is using Grouping but when it is rendered the Group By values are sorting alphabetically. I'm returning the data in the order that I would like to have it rendered. Is there anyway to disable the grouping from changing the order in which the data will be rendered? Thanks.
Pavlina
Telerik team
 answered on 25 Sep 2009
3 answers
129 views
Hi,
I wonder if this has been discussed before but after going through all the threads I still have this below mentioned issue unresolved

Scenario:

I have 4 Combo boxes and 2 datapicker controls on the page.
There are Submit and cancel buttons right below the above mentioned controls.

Functionality of the Page:
All the combo boxes are intially loaded with data. the 3rd combo box has 6000 records in it.
When the first combo is selected, it reloads the 2nd conbo and when a value from 2nd combo is selected then the 3rd combo is reloaded based on the values selected from the previous combos.
The 4th combo is independent and loaded when the page loads.

Problem:
When I run this page without adding ajax to the combo boxes, the page runs fast and as know it refresh and appears again with the selected data.
When I add ajax to these combo boxes as in the sequence they update, selecting the first combo updates the 2nd combo in 3 sec and selecting the 2nd combo updates the 3rd combo in 20 sec.

Question:
Why is this happening on adding ajax to the page? Is it happenign because of the record size of the third combo box? But still it should not be taking 20sec to do it.
Attime I see that it only happens when the combo boxes are seletc for the first time. Later when the are selected for 2nd or 3rd time then the workign is fast.

Few Details about the page:
> The page uses a master page
> I'm using RadAjaxManger and RadLoadingPanel (I used RagAjaxProxyManger but no use. The page reloads again and its not what I'm looking for)
> All the controls are put in a table and this table is in a Panel and the RadAjax controls are outside the panel
> The widths and heights are given in terms of pixels
> No layout is chosen for the table
> There are 2 image buttons on the page which on clicking opens a dialogue box using javascript
> All the datasources are loaded at the codebehind

With this information can you please tell why this is happening. There are other scenarios too where in updating date fields on a button click is also slowed by adding the ajax to the button and the datapicker fields to be updated.
I have problem understanding why adding ajax slows my page so badly

Please let me know and please do ask if you need any more information.

Thanks in Advance
Sowji
Pavlina
Telerik team
 answered on 25 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?