Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
Hi All,

I have developed a custom control (a .cs file not .ascx file) in which I have used a RadRotator. I require a Rich Text ToolTip(consist of an image and some text) on the mouse hover event, on any of the images of the RadRotator. So I have used a RadToolTip.
The radrotator ItemTemplate consists of an image, a RadToolTip and some literal controls.

The problem I am facing is that I am able to see the tool tip correctly in IE 7 but in IE8 it does not appear at all.
Another issue that I am facing is that in Safari browser the ToolTip appears on the top of the browser(irrespective of the rotator position when scrolled).

Has anyone faced such kind of issue??
Any solution or hints will be appreciated.

Thanks.

Regards,
Manoj
Svetlina Anati
Telerik team
 answered on 27 Jan 2010
1 answer
98 views
Which chart versions are compatable with .net 1.1? I am currently using 3.0 and i want to upgrade!
Vladimir Milev
Telerik team
 answered on 27 Jan 2010
7 answers
123 views
Hi there,

I have a Line chart that displays two series. I have AutoLayout set to true. When the maximum values of the series is equal to the maximum label value of the Y axis, I get a flat line at the top of the chart. In theory this is fine, but the line appears cut off, so you only see half of it.

To work around this, I try to set the MaxValue on the YAxis programmatically to the maximum value of the items + 10%. So, if the highest items are 35000, I set MaxValue to 38500. In order for this to work, I also need to set AutoScale to False. However, as soon as I do that, my WebDevServer.exe hangs, and consumes all memory and CPU until it crashes. As soon as I remove the attribute, the page behaves OK, but the chart is cut off again.

You can see a repro scenario in this test project
http://imar.spaanjaars.com/Downloads/Other/TelerikChartIssue2.zip

I am not programmatically setting this attribute, but through markup:

<YAxis MaxValue="700000" > <%--AutoScale="false"--%>

If you add the AutoScale attribute to the YAxis element, the server hangs.

Is there a work around for this? How do I create some "padding" between the actual series line at the top of the PlotArea?

Thanks for looking into this.

Imar
Vladimir Milev
Telerik team
 answered on 27 Jan 2010
1 answer
101 views

Dependant combos on grid

 

Is possible to have dependant combos on a grid that are bound server side?

What I want to happen is somehow rebind the DataSource when another combo box in the grid changes.

So for example Combo A was Continents and Combo B was counties I would want to filter the country list (Combo B) depending on what is selected in the continents (Combo A).  I can’t see any server events that fire upon selecting a combo within a grid.

Note that to further complicate things my columns are dynamically created.  

Any help would be much appreciated!!!
 

Below is a shortened extract of my code:-

protected void uxResults_ItemDataBound(object sender, GridItemEventArgs e)

{

 

  GridDropDownListColumnEditor

 

combo = null;

  editMan = editedItem.EditManager;

  GridDataItem item = (GridDataItem)e.Item;

  if (e.Item is GridEditableItem )

  {

    if ((e.Item as GridEditableItem).IsInEditMode)

    {

      combo = editMan.GetColumnEditor(dr["Column Name"].ToString()) as GridDropDownListColumnEditor;

      combo.DataSource = ApplyFilter(item, combo, dr, ds);

      combo.DataBind();

    }

  }

}

Pavlina
Telerik team
 answered on 27 Jan 2010
1 answer
157 views
I'm wondering how can I resolve this problem?

I've written this piece of code to select row items on My RadGrid Control, which has the following select parameters...

SelectCommand="SELECT CityPinnacleDeals.DealID, CityPinnacleDeals.UserID FROM CityPinnacleDeals WHERE (CityPinnacleDeals.DealCategory <> 13) ORDER BY CityPinnacleDeals.DealID DESC"

The statement is valid and selecting the appropriate data, the RadGrid has created all the selected columns

RadGrid DataKeyNames="UserID, DealID"

The Code for selecting the rows is contained in the Linkbutton or Imagebutton Click event (both buttons are components of Template Columns added to the RadGrid Control) and is written thus...

Image Button
Protected Sub SelectGadgetFilterTwo_Click(ByVal sender As Object, ByVal e As System.EventArgs)




CType(CType(sender, ImageButton).Parent.Parent, GridItem).Selected = CType(sender, ImageButton).Visible
        RadGridFilterTwo_SelectedIndexChanged(sender, e)


End Sub

Link Button
Protected Sub SelectGadgetFilterTwo_Click(ByVal sender As Object, ByVal e As System.EventArgs)

CType(CType(sender, LinkButton).Parent.Parent, GridItem).Selected = CType(sender, LinkButton).Visible
        RadGridFilterTwo_SelectedIndexChanged(sender, e)


End Sub

The ImageButton contains images, while the Linkbutton contains the names of the displayed images, when either of the buttons is clicked, users are expected to be redirected to another page with the following code...,

Protected Sub RadGridFilterTwo_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGridFilterTwo.SelectedIndexChanged
       
Dim MyGadgetID As Integer = RadGridFilterTwo.SelectedItems(0).OwnerTableView.DataKeyValues(RadGridFilterTwo.SelectedItems(0).ItemIndex)("DealID")

Dim MyGadgetUserID As Integer = RadGridFilterTwo.SelectedItems(0).OwnerTableView.DataKeyValues(RadGridFilterTwo.SelectedItems(0).ItemIndex)("UserID")

Response.Redirect("GadgetsHome.aspx?.diresu=" & Str(StaffNumber.Text) & "&.diresulead=" & MyGadgetUserID & "&.dilead=" & MyGadgetID)


End Sub

but I keep receiving the error message...

"UserID is neither a DataColumn nor a DataRelation for table DefaultView"


Now I'm wondering how can I resolve this problem?



Pavlina
Telerik team
 answered on 27 Jan 2010
2 answers
151 views
I have a grid with the following columns

<telerik:GridCheckBoxColumn DataField="Dhcp" HeaderText="DHCP"></telerik:GridCheckBoxColumn>    
<telerik:GridBoundColumn DataField="Address" HeaderText="Address"></telerik:GridBoundColumn>    
<telerik:GridBoundColumn DataField="Mask" HeaderText="Mask" ></telerik:GridBoundColumn>    
<telerik:GridBoundColumn  DataField="Gateway" HeaderText="Gateway" ></telerik:GridBoundColumn>    
    
 


in ItemCreate of the grid I add CustomValidators to the edit controls contained in the columns: Address, Mask, and Gateway.

In the static ServerValidate handler, I need to be able to determine the current value of the GridCheckboxColumn, DHCP. 

How would I go about finding that value?

Thanks,
Steve
Steve Wolfe
Top achievements
Rank 1
 answered on 27 Jan 2010
2 answers
188 views
I have a grid that has the following column definition:

            <telerik:GridCheckBoxColumn DataField="Dhcp" HeaderText="DHCP"></telerik:GridCheckBoxColumn> 
            <telerik:GridBoundColumn DataField="Address" HeaderText="Address"></telerik:GridBoundColumn> 
            <telerik:GridBoundColumn DataField="Mask" HeaderText="Mask" ></telerik:GridBoundColumn> 
            <telerik:GridBoundColumn  DataField="Gateway" HeaderText="Gateway" ></telerik:GridBoundColumn> 
 

I want to add a client side click handler to the DHCP CheckBox column.  Inside the handler I want to be able enable/disable all of the other GridBoundColumns based on whether or not the CheckBox is checked or not.

So a couple of questions:
  1. How do you add a client side event handler to the GridCheckBoxColumn
  2. How do you access the edit controls of the GridBoundColumns in that event handler.

Thanks,
Steve

Steve Wolfe
Top achievements
Rank 1
 answered on 27 Jan 2010
5 answers
250 views
I just installed a new skin designed by our graphic designer using Visual Style Builder.  It works great except for the icons that enable you to move from page to page, which are missing.  Any ideas?  I'm attaching a screenshot of what I see along with the zip file generated by VSB.

Thanks.

Laurie
Dimo
Telerik team
 answered on 27 Jan 2010
5 answers
122 views
I deployed the rad editor solution and everything went fine. However, when using the image manager, the users are unable to upload new images. The 'Upload Image' tab is disabled. How can we resolve this so our users will be able to upload images? Thanks
Stanimir
Telerik team
 answered on 27 Jan 2010
1 answer
135 views
Hi,

I'm trying to create a simple inline edit template, but when I double-click on an appointment in the Scheduler I seem to get some default appointment editing dialog with "Save" and "Cancel" buttons near the bottom right-hand corner.

Here is the code I'm using:
        <telerik:RadScheduler runat="server" ID="RadScheduler1" 
            Width="750px" 
            Height="650px" 
            SelectedView="MonthView"  
            FirstDayOfWeek="Monday"  
            LastDayOfWeek="Friday"             
            SelectedDate="2008-06-01" 
            StartInsertingInAdvancedForm="false" 
            EnableCustomAttributeEditing="true"  
            ProviderName="ReadOnlySchedulerData"  
            OnAppointmentDataBound="RadScheduler1_AppointmentDataBound">     
                 <InlineEditTemplate> 
                   <div id="InlineEditTemplate" class=""> 
                        
                       <asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%" TextMode="MultiLine" Height="20px"></asp:TextBox> 
                  
                       <asp:LinkButton ID="InsertButton" runat="server" CommandName="Update" Text="Cancel"></asp:LinkButton> 
                  
                       <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel"></asp:LinkButton> 
                  
                       <asp:LinkButton ID="InsertMoreButton" runat="server" CommandName="More" CssClass="rsAdvancedEditLink">Advanced</asp:LinkButton> 
                    
                   </div> 
                </InlineEditTemplate>                    
        </telerik:RadScheduler>             
 
Can someone tell me what I'm doing wrong?

Thanks,
Greg


Shinu
Top achievements
Rank 2
 answered on 27 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?