Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
I have a RadUpload control on a form that only causes an hourglass to appear (file is never uploaded) if all the following conditions are met:

1. RadUpload is on a PageView of a RadMultipage that is not displayed at first. In other words, the Radupload exists on a page that is displayed after the page is initially loaded.
2. There is a RadProgressArea (and a RadProgressManager) displayed as well. 
3. The browser is Safari (Both Mac and Windows exhibit the problem.)

I have successfully uploaded files if the upload control is on the first page displayed, or if I remove the RadProgressArea.

Thanks, Steve
Veselin Vasilev
Telerik team
 answered on 20 Jan 2009
4 answers
120 views
hi,

i am using radupload control with some additional info added with javascript.
problem is that i have to add select (combobox) with, if it is possible, options generated from database.

select (combobox) is for me must have, data from database is optional.
is that possible and how?

here i saw examples with adding input or checkbox fields:
http://www.telerik.com/help/aspnet-ajax/upload_raduploadaddinginformation.html

tnx in advance,
kreso



Veselin Vasilev
Telerik team
 answered on 20 Jan 2009
5 answers
174 views
Hi
I have a color picker control in a template column in radgrid which seems to work fine but when i put the gird in an ajaxpanel the color picker will only display the color palet on first click on the color picker, on subsequent clicks it only displays the selected color not the pallet (there is an auto postback when color is changed).
Does the color picker work inside an ajax panel?

Thanks
Tsvetie
Telerik team
 answered on 20 Jan 2009
5 answers
176 views
Hi
i am new to Rad Controls and i am working on RAd Scheduler i need to show multiple columns of my dataset to be shown in the

subject field of scheduler i want to bind them according to the rows of sceduler on row data bound i want to compose an string which will be binded to subject field of scheduler on row data bound of every row

can any one suggest me on this how to do this
sahar
Top achievements
Rank 1
 answered on 20 Jan 2009
2 answers
103 views
Hello,

I spent hours on this problem !
I am using radgrid in Ajaxifyed a RadTabStrip/Multipage with Edit/Delete columns using Imagebuttons.
My page Load event was doing a
RadGrid.dataSource    =    MyDataTable;
RadGrid.DataBind();

With this I was getting as soon as clicking on an edit image an exception:
"Invalid postback or callback argument", etc.

I discovered that the DataBind was not necessary, and even worse: it was the cause of the crash.

This has to be clearly stated in documentation, should I have missed it ?
Could we have more explanation on this change and related RadGrid parameters usage ?

When to use DataBind ? Is it nor more necessary ? I have dozen of DataBind in my code....

What policy should we adopt ?

Thanks
CSurieux
Top achievements
Rank 2
 answered on 20 Jan 2009
3 answers
101 views
I have a grid that allows edit and delete buttons for some fields.  Now, we're going to let non-admin users also see the same page, but want them to not be able to see the edit and delete buttons.

Any ideas where I should turn for that?

Princy
Top achievements
Rank 2
 answered on 20 Jan 2009
3 answers
305 views
I have a user control of "EmailToFriend" which opens a RadWindow to enter email.I used that control in a ListView therefore there are 10-15 instances of that control on Page. I want to open the radwindow at a position relative to that instance of EmailToFriend on which user cliked.Also I want only one instance of radwindow to open again & again instead of each time creating new instance to enhance performance.How can I pass the position of specific control as an argument to RadWindow. I used the ClientID but it only works when I created a new instance each time.................Thanks
Imran
Top achievements
Rank 1
 answered on 20 Jan 2009
5 answers
1.3K+ views
Hi,

When you say 'RadScriptManager is a control that replaces the ScriptManager available in the Microsoft Ajax Extensions suite.'
Does it mean that I could use RadScriptManager instead of ScriptManager ? Will all the ASP.NET ajax etension controls work with it?

An issue I am facing is that UpdatePanel is not working (In Mozilla firefox 3.0) when used on a page containing RadEditor contained in a UpdatePanel.
I am using RadScriptManager on the page which has a RadEditor and some ASP.NET controls.

Please help and let me know if there are any known limitations.

MB
Top achievements
Rank 1
 answered on 20 Jan 2009
2 answers
560 views
Hello,

I need to set the CommandArgument of a GridButtonColumn so it can be processed client-side.  I tried to use the approach described at http://www.telerik.com/community/forums/aspnet-ajax/grid/commandargument.aspx but it doesn't seem work.

My GridButtonColumn definition is :
<telerik:GridButtonColumn CommandName="ConfigSl" Text="Configure SiteLink" UniqueName="ConfigSlBtn">                   </telerik:GridButtonColumn>

My CodeBehind argument setter is :
      protected void rgSite_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
      {
         GridDataItem item = e.Item as GridDataItem;
         if (item != null)
         {
            string site = item.GetDataKeyValue("Code") as string;

            LinkButton link = (LinkButton)item["ConfigSlBtn"].Controls[0];
            link.CommandArgument = site;
         }         
      }

My client-side Javascript, for now, is :
        function RadGridCommand(sender, args)
        {
            var commandName = args.get_commandName();
            var commandArgs = args.get_commandArgument(); 

            var result = String.format("CommandName: {0}, CommandArgument: {1}", commandName, commandArgs); 
            alert( result );
            
            if ( commandName == 'ConfigSl' )
            {
                args.set_cancel( true );
            }
        }

The commandArgs value I get for this is the row number, not the value set into the "Code" key.  Also, I checked through the debugger and the Site variable into the ItemCreated event has the right value.

What am I doing wrong?

Thanks
Luc
Top achievements
Rank 1
 answered on 20 Jan 2009
2 answers
128 views

I have what I think is a straight forward problem with what I hope is a simple solution.  I want to create a chart in ASPX with two series of data, one that shows up as a line, and one that show up as point data.  So I created a chart with two series and gave them their appropriate types.  However both data sets show up as points.  Here are the important lines:

<telerik:RadChart ID="CPUIdle_RadChart" runat="server" DataSourceID="myData" 
                        Skin="Gradient" DefaultType="Point">  
<telerik:ChartSeries Name="ThisMachine" Type="Line">  
<telerik:ChartSeries Name="EcoSystem" Type="Point">  

When I take the defaultType off of the <telerik:RadChart> control, the chart shows up as a bar chart for both series.  What ever I set the DefaultType to, the chart sets both series to that type of display.  Both lines always inherit the DefaultType.  How do I get the Series to honor the ChartSeries Type?

<telerik:RadChart ID="CPUIdle_RadChart" runat="server" DataSourceID="myData" 
                        Skin="Gradient" DefaultType="Point">  
                        <ChartTitle> 
                            <Appearance Corners="Round, Round, Round, Round, 3" Position-AlignedPosition="Top">  
                                <FillStyle MainColor="177, 183, 144">  
                                </FillStyle> 
                                <Border Color="64, 64, 64" /> 
                            </Appearance> 
                            <TextBlock Text="CPU at Idle">  
                                <Appearance AutoTextWrap="Auto" TextProperties-Color="White" TextProperties-Font="Verdana, 14.25pt, style=Bold">  
                                </Appearance> 
                            </TextBlock> 
                            <Marker> 
                                <Appearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" > 
                                </Appearance> 
                            </Marker> 
                        </ChartTitle> 
                        <Series> 
                            <telerik:ChartSeries Name="ThisMachine" Type="Line">  
                                <Appearance> 
                                    <FillStyle MainColor="199, 243, 178" SecondColor="17, 147, 7">  
                                    </FillStyle> 
                                    <LabelAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" 
                                        Dimensions-Paddings="1px, 1px, 1px, 1px">  
                                    </LabelAppearance> 
                                    <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3">  
                                    </PointMark> 
                                    <TextAppearance TextProperties-Color="Black">  
                                    </TextAppearance> 
                                    <EmptyValue Mode="Approximation">  
                                        <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px">  
                                        </PointMark> 
                                    </EmptyValue> 
                                    <Border Color="Black" /> 
                                </Appearance> 
                            </telerik:ChartSeries> 
                            <telerik:ChartSeries Name="EcoSystem" Type="Point">  
                                <Appearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3">  
                                    <FillStyle MainColor="253, 226, 0" SecondColor="255, 156, 0">  
                                    </FillStyle> 
                                    <LabelAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" 
                                        Dimensions-Paddings="1px, 1px, 1px, 1px">  
                                    </LabelAppearance> 
                                    <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3">  
                                    </PointMark> 
                                    <TextAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" 
                                        Dimensions-Paddings="1px, 1px, 1px, 1px" TextProperties-Color="Black">  
                                    </TextAppearance> 
                                    <EmptyValue> 
                                        <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px">  
                                        </PointMark> 
                                    </EmptyValue> 
                                    <Border Color="Black" /> 
                                </Appearance> 
                            </telerik:ChartSeries> 
                        </Series> 
John
Top achievements
Rank 1
 answered on 19 Jan 2009
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?