Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
136 views
Hi,

I'm using a web service to populate a scheduler with appointments, and I have set the Tooltip property on the appointment to a fixed literal string "Customer Name". Unfortunately the grid has a hover over tooltip that contains the Subject i.e. the same information as already displayed on the box.

In debugging on the client side, I can see that the _Tooltip property of the client side appointment is indeed the same as the subject.

How can I get informational tooltips working in this environment?

Does anybody have an example of a scheduler, using web service binding, and displaying informational tooltips, either as standard or using a RadTooltip control?

Cheers.

Mark
Peter
Telerik team
 answered on 06 May 2010
1 answer
58 views
I have an AsyncUpload control in the footer of a GridView.  I am periodically getting a javascript error "rowElement" is null or not an object when trying to upload.

Has anyone seen anything like this before?
Genady Sergeev
Telerik team
 answered on 06 May 2010
1 answer
89 views
I have a RadAsyncUpload control on a page that is giving me a javascript error (rowElement is null or not an object) when uploading a file.  The file name appears on the page, but the ClientFileUploaded event does not fire.  On this page I have drop downs that perform an auto postback to populate other drop downs before submission.  If I perform the file upload before the postback, it works, if afterwards, I get the javascript error.  I was able to debug enough to the determine that the ClientFileUploading event is firing and the temporary file is being created on the server.  What's even stranger still is that if I "remove" the errored file and re-upload it, I do not get a javascript error.  Only the first upload attempt after a postback gives me an error.  Does this make sense? Any help would be greatly appreciated.

Thanks,
Malcolm
Genady Sergeev
Telerik team
 answered on 06 May 2010
6 answers
159 views
Hi
I have been experimenting with creating standard input controls dynamically based on this external post http://weblogs.asp.net/sanjeevagarwal/archive/2008/07/22/Dynamically-create-ASP.NET-user-control-using-ASP.NET-Ajax-and-Web-Service.aspx
Basically, in my application, an AJAX call is made to a web service which dynamically creates a virtual page of controls (based on meta data from a database) and renders the page to an html string using HttpContext.Current.Server.Execute(page, textWriter, false). A callback function inserts the html into a div.  This is not a new concept but is new to me.
I have successfully implemented it for up to 1000 ASP.NET text boxes. However, when I add just 1 Telerik text box, an exception occurs when executing the command HttpContext.Current.Server.Execute(page, textWriter, false);. "Error executing child request handler. 'System.Web.Ui.Page'. 
I have researched other articles in this forum and extensively on the web but cannot find an answer.  I assume it is connected with the way in which Telerik controls are referenced in Visual Studio or by ASP.NET but I do not have the expertise to debug the issue. 
This is a focal issue for my application.
Can you please help.
Thanks and regards
Harry Kable 
Dimitar Milushev
Telerik team
 answered on 06 May 2010
3 answers
398 views
How do I set the bar size on this horizontal bar chart to a fixed width (or would it be height?) of 27px and allow the overall chart to change size based on the number of rows of data? I would like the bar width to be the same size regardless how many bars are on the chart.

Thank You.


 
                                <telerik:RadChart ID="chartPropertyStatus" runat="server" DataSourceID="ObjectDataSource1" 
                                    Skin="Office2007" SeriesOrientation="Horizontal" Width="1024px"   
                                    Visible="True">  
                                    <Series> 
                                        <telerik:ChartSeries DataYColumn="DaysActive" Name="Property Status"   
                                            DataLabelsColumn="Label" DataXColumn="OrderBy" Appearance-LegendDisplayMode="ItemLabels">  
                                            <Appearance> 
                                                <FillStyle FillType="Solid" MainColor="69, 115, 167">  
                                                </FillStyle> 
                                                <TextAppearance TextProperties-Color="Black">  
                                                </TextAppearance> 
                                                <Border Color="69, 115, 167" /> 
                                            </Appearance> 
                                        </telerik:ChartSeries> 
                                    </Series> 
                                    <PlotArea> 
                                        <EmptySeriesMessage> 
                                            <TextBlock Text="This Property has no 'Property Status' History yet.">  
                                            </TextBlock> 
                                        </EmptySeriesMessage> 
                                        <XAxis AutoScale="true" DataLabelsColumn="SaleStatus" 
                                            MinValue="1" Step="1" MaxValue="7">  
                                            <Appearance Color="134, 134, 134" MajorTick-Color="134, 134, 134"   
                                                PenStyle="Dash">  
                                                <MajorGridLines Color="134, 134, 134" Width="0" /> 
                                                <TextAppearance TextProperties-Color="Black">  
                                                </TextAppearance> 
                                            </Appearance> 
                                            <AxisLabel> 
                                                <Appearance RotationAngle="270">  
                                                </Appearance> 
                                                <TextBlock> 
                                                    <Appearance TextProperties-Color="Black">  
                                                    </Appearance> 
                                                </TextBlock> 
                                            </AxisLabel> 
                                            <Items> 
                                                <telerik:ChartAxisItem Value="1">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="2">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="3">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="4">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="5">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="6">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                                <telerik:ChartAxisItem Value="7">  
                                                    <TextBlock Text="abc">  
                                                    </TextBlock> 
                                                </telerik:ChartAxisItem> 
                                            </Items> 
                                        </XAxis> 
                                        <YAxis> 
                                            <Appearance Color="134, 134, 134" MajorTick-Color="134, 134, 134"   
                                                MinorTick-Color="134, 134, 134">  
                                                <MajorGridLines Color="134, 134, 134" /> 
                                                <MinorGridLines Color="134, 134, 134" /> 
                                                <TextAppearance TextProperties-Color="Black">  
                                                </TextAppearance> 
                                            </Appearance> 
                                            <AxisLabel> 
                                                <Appearance RotationAngle="0">  
                                                </Appearance> 
                                                <TextBlock> 
                                                    <Appearance TextProperties-Color="Black">  
                                                    </Appearance> 
                                                </TextBlock> 
                                            </AxisLabel> 
                                        </YAxis> 
                                        <YAxis2> 
                                            <AxisLabel> 
                                                <Appearance RotationAngle="0">  
                                                </Appearance> 
                                            </AxisLabel> 
                                        </YAxis2> 
                                        <Appearance Dimensions-Margins="18%, 6%, 12%, 15%">  
                                            <FillStyle FillType="Solid" MainColor="">  
                                            </FillStyle> 
                                        </Appearance> 
                                    </PlotArea> 
                                    <Appearance> 
                                        <Border Color="134, 134, 134" /> 
                                    </Appearance> 
                                    <ChartTitle> 
                                        <Appearance> 
                                            <FillStyle MainColor="">  
                                            </FillStyle> 
                                        </Appearance> 
                                        <TextBlock Text="Property Status">  
                                            <Appearance TextProperties-Color="Black" TextProperties-Font="Arial, 18px">  
                                            </Appearance> 
                                        </TextBlock> 
                                    </ChartTitle> 
                                    <Legend Visible="False">  
                                        <Appearance Dimensions-Margins="15%, 2%, 1px, 1px"   
                                            Dimensions-Paddings="2px, 8px, 6px, 3px" Visible="False">  
                                            <ItemTextAppearance TextProperties-Color="Black">  
                                            </ItemTextAppearance> 
                                            <ItemMarkerAppearance Figure="Square">  
                                            </ItemMarkerAppearance> 
                                        </Appearance> 
                                    </Legend> 
                                </telerik:RadChart> 
Ves
Telerik team
 answered on 06 May 2010
5 answers
449 views
Is there an easy way to map the recurrence list values from sharepoint to the scheduler? I've looked around and the object model for messing with sharepoint recurrence is pretty lackluster...

Was just wondering if you've come across this in your development and created a nice and easy SPRecurrence = RADRecurrence type tool?

Please? lol
Eliza Sahoo
Top achievements
Rank 1
 answered on 06 May 2010
3 answers
135 views
I need to get the current editor html content on the client side while the editor is in Preview mode.
The code for this is

var editor = $find("<%=RadEditor1.ClientID%>"); 
var editorcontent = editor.get_html(false); 


This works fine with Internet Explorer, but does not return the current html content under Firefox.

Example
the following checkbox is unchecked.

<input name="Check 1" id="Check1" type="checkbox" submitname="Check 1" value="on"/> 


In Internet Explorer, checking the checkbox in preview mode and then running the get_html command will return the form element with its current status.

<input name="Check 1" id="Check1" type="checkbox" CHECKED submitname="Check 1" value="on" />


In Firefox, it always returns the initial state of the content, not the current state. ie.

If the checkbox is checked when entering preview mode, get_html will always return:

<input name="Check 1" value="on" id="Check1" type="checkbox" checked="checked" submitname="Check 1" />


If the checkbox is unchecked when entering preview mode, get_html will always return:

<input name="Check 1" value="on" id="Check1" type="checkbox" submitname="Check 1" />


Testing with IE8 and Firefox 3.6. Telerik Q1 2010.
Dobromir
Telerik team
 answered on 06 May 2010
18 answers
699 views
I am building an application for the management of educational materials.  One of the requirements is the ability to support rich-text editing including mathematical equations, multiple language character sets and possibly scientific symbols.  Does the Telerik text editor control support this kind of content beyond the basic symbol picker I've seen on the demo site?
Valentin.Stoychev
Telerik team
 answered on 06 May 2010
3 answers
315 views
hi All,

         Iam dynamically binding the grid. I have a RAdGrid with tabs in it . Iam binidng data to the tabs dynamically. In one of the tab i have RadGrid. Iam using RAdGRid1_ItemCreated event to bind the Grid. In the event i want to know wheather the grid is expanded or not.

Iam uisng the property and the geting the values like
bool exp= e.item.expanded;

but it always returns false wheather i click on expand colum or collpase.

Pls help me out to how to do this

its very urgent..

Asra
Shinu
Top achievements
Rank 2
 answered on 06 May 2010
2 answers
122 views
Im using a radgrid with paging, and handling the pageindexchanged, to save everything in the grid (a few checkboxes).

  protected void OnPageIndexChanged(object sender, GridPageChangedEventArgs e)
  {
   RadGrid radGrid = (RadGrid)sender;
   foreach (GridDataItem item in radGrid.Items)
   {
        CheckBox checkBox = (CheckBox)item.FindControl("chkList");
   }
  }

There's a nested item, with a textarea, in each item. How can I get a reference for the nested textarea inside each dataitem?

André Freitas
Top achievements
Rank 1
 answered on 06 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?