Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
447 views
Hi

Simple one this (I hope) but can't figure it out.

I want to resize the uploaded image and overwrite the uploaded file (in the target folder) with the resized one.

Is there any code available on how to do this?

Andy
Fabio Cirillo
Top achievements
Rank 1
 answered on 15 Mar 2013
3 answers
136 views
In English OS the pm/am displayed so smaller,but in Chinese OS the localized strings displayed too bigger to see the whole strings.How to fix that issue on occured on the chinese localilzed system?

 

Boyan Dimitrov
Telerik team
 answered on 15 Mar 2013
3 answers
170 views
I have a case where RadButton Changes checked value.  I run though the behind code.  the RadButton is checked. Then it appears as unchecked. I am using ajax.  I cant seem find out when it is changing the value.  any ideas.  Also in IE the page renders much slower and I will see the checked values for a second then it changes to unchecked.

Also, Is there a way to debug the ajax to see if the issue is coming form that?
Danail Vasilev
Telerik team
 answered on 15 Mar 2013
1 answer
135 views
How do you set the DisabledStyle for a ComboBox in Code Behind?

I tried this but it didn't work:
[ToolboxData("<{0}:RadComboBoxEx runat='server'></{0}:RadComboBoxEx>")]
public class RadComboBoxEx : RadComboBox
{
    public RadComboBoxEx()
        : base()
    {
        //this.DisabledStyle.BackColor = System.Drawing.Color.White;
        //this.DisabledStyle.ForeColor = System.Drawing.Color.LightGray;
        this.Init += new EventHandler(RadComboBoxEx_Init);
    }
 
    void RadComboBoxEx_Init(object sender, EventArgs e)
    {
        SetDisabledStyle(this.Controls);
    }
 
    private void SetDisabledStyle(ControlCollection controlCollection)
    {
        foreach(Control control in controlCollection)
        {
            if ( control is RadInputControl )
            {
                RadInputControl input = (RadInputControl)control;
 
                input.DisabledStyle.BackColor = System.Drawing.Color.White;
                input.DisabledStyle.ForeColor = System.Drawing.Color.LightGray;
            }
            else
            {
                SetDisabledStyle(control.Controls);
            }
        }
    }
Nencho
Telerik team
 answered on 15 Mar 2013
1 answer
457 views
Hi,
I using VS2012. I am using a telerik radgrid and binding the grid to customer information in a dataset(single dataset). A single customer can have many records in the dataset. Hence in my grid i want to have my first column as a expand-collapse button '(+)' column. If a single customer is getting repeated in the dataset (which i get to know from the 'customer name' column and thier unique 'customer ID' column in the dataset), i want to  display the (+) expand button, on click of expand i want to display the other records for this same customer, and on clicking collapse(-) button i want to show only one record for that customer. If the customer name is unique in the dataset then i dont want to display the expand-collapse button in the first column. Is there any way to do this ? Kindly help. Thanks in Advance.
Marin
Telerik team
 answered on 15 Mar 2013
1 answer
49 views
Hi,
How can I Show Hide properties in Set Image Properties Dialog?

Thanks,
Amr Saafan
Rumen
Telerik team
 answered on 15 Mar 2013
4 answers
150 views
I have a RadCombox bound to sql datasource with some dropdown items. There is one column called "Other". I want when users select the other, it enable a corresponding RadTextbox so they can input an item and on save button click the item get save to the other column in the database. Any example?
Ebenezer
Top achievements
Rank 1
 answered on 15 Mar 2013
5 answers
115 views
how to open popup box in orgchart drill option ? from database ?
Plamen
Telerik team
 answered on 15 Mar 2013
1 answer
153 views
I have a paged radGrid with SaveScrollPosition="true".  This way if they scroll left/right and page, the horizontal scroll position is saved which is what I want (there is a flicker/refresh where the columns jump left/right but that's another issue for later).

However, If I issue a more refined search and a new result set,  I want to reset the page back to page 1 (I'm setting CurrentPageIndex = 0 which works).  However, I also want move the horizontal postion back to the starting point.  How do I do that.  It seems to be a client-setting but I'm not sure how.

Thanks, Dave

David
Top achievements
Rank 1
 answered on 15 Mar 2013
3 answers
100 views
hi there,
i using RadComboBox and RadTreeView together. i use the AjaxPanel in RadComboBox's itemtemplate but also and  sometimes on some forms of our projects that Which has been used Master AjaxPanel , we face with this JS Error!!!

Error: Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Script control 'SimpleTreeDownTree' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
Source File: http://localhost:2518/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=...

is there any idea use inner AjaxPanel inside master Ajax panel that have not conflict together?
          
<telerik:RadComboBox ID="SimpleTreeDownItems" runat="server" Height="255px" Width="420px"
               AllowCustomText="true" EmptyMessage="Select Anythings" ToolTip="Select" Style="vertical-align: middle;"
               OnDataBound="SimpleTreeDownItems_DataBound" OnPreRender="SimpleTreeDownItems_PreRender" OnClientDropDownOpened="SimpleTreeDownItems_OnClientDropDownOpenedHandler" >
               <collapseanimation duration="400" type="inback" />
               <expandanimation duration="400" type="inback" />
               <itemtemplate>
                       <div   class="TreeViewWrapper" onclick="StopPropagation" >
                   <telerik:RadAjaxPanel runat="server" ID="SlaveAjaxPanel" >
                        <telerik:RadTreeView OnNodeDataBound="SimpleTreeDownTree_NodeDataBound" runat="server"
                            ID="SimpleTreeDownTree" OnNodeClick="NodeClicking" Width="411" Height="252" style="overflow-x:hidden; overflow-y:auto"  >
                           <Nodes>
                           </Nodes>
                       </telerik:RadTreeView>
                       </telerik:RadAjaxPanel>
                   </div>
               </itemtemplate>
               <expandanimation type="InBack"></expandanimation>
               <items>
                     <telerik:RadComboBoxItem Text="" />
               </items>
               <collapseanimation type="InBack"></collapseanimation>
           </telerik:RadComboBox>




Maria Ilieva
Telerik team
 answered on 15 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?