Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
116 views
Hello,
     I upgraded my application to the version 2009.2, out of 2008.2 .
     Now all my combos lists  are off the center of the combobox. In fact they are showing way far the
     combo boxes in any Browser.

     Anyone has an idea why?

    Thanks,



John,
Joao Araujo
Top achievements
Rank 1
 answered on 03 Sep 2009
3 answers
168 views
Hi

I have implemented the radpanel bar, and using the "SPNavigationProvider" i SharePoint (MOSS 2007). I have set PersistStateInCookie to True in order to keep the menu in the right state when clicking on the links in the menu, but when I go to another site which doesn't have the rad panel bar, the panelbar on the page I left will be in the same state as I left when I open that site again. I want the menu to reset to default when I visit other sites. Is that possible?

Another problem that I have is that the menu doesn't expand when I hyperlink from another site. It just stays the way it was. Is it possible to make the menu expand when I link to a "point" in the menu?

Please advise :)

This is my code

<telerik:RadPanelBar  
        Runat="server"   
        DataSourceID="SPNavigationProvider"   
        AllowCollapseAllItems="true" 
        Skin="WebBlue"   
        ExpandMode="SingleExpandedItem"   
        PersistStateInCookie="True" 
        CollapseDelay="300"   
        EnableTheming="True"   
        Font-Bold="False"   
        ExpandDelay="300"   
         EnableViewState="true" 
        Width="215px">  
          
         <CollapseAnimation   
          Type="Linear"   
          Duration="100">  
         </CollapseAnimation> 
          
         <ExpandAnimation   
          Type="None" 
           Duration="100">  
         </ExpandAnimation> 
       </telerik:RadPanelBar> 
         
       <asp:SiteMapDataSource runat="server" ID="SPNavigationProvider" StartFromCurrentNode="true" ShowStartingNode="false"/>  
 

Regards    
    
Adeel
Top achievements
Rank 1
 answered on 03 Sep 2009
4 answers
111 views
This RadDatePicker calendar control works in standard ASP INSERT record form.

          <td style="width:90px;">
            <TRad:RadDatePicker ID="dpDATE_INSTALLATION_INSERT" runat="server"
                                SelectedDate='<%# Bind("DATE_INSTALLATION","{0:d}") %>' AutoPostBack="False">
              <Calendar ID="Calendar2" runat="server" Skin="Outlook" ShowRowHeaders="false"
                        BorderStyle="Solid" BorderWidth="1px" BorderColor="Black"
                        TitleStyle-Backcolor="PaleGoldenrod"></Calendar>
              <DateInput ID="DateInput2" runat="server"
                         DateFormat="dd-MMM-yyyy" DisplayDateFormat="dd-MMM-yyyy" ></DateInput>
            </TRad:RadDatePicker>
          </td> 

In the insert parameter I use the DateTime datatype.

When moved to AJAX Rad Grid form it fails when attempting to insert new record inthe Grid Form with error

"Conversion from string "" to type 'Date' is not valid."

I did not have to handle NULL or zero-length strings before.
Kevin Mason
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
35 views
Hi Team,
                I am using Visual studio 2005 for developing web application.
                I need to create user control for telerik chart.I want only instantiate one class that class having all the property
                i just configure that control(class)  like chart tiltle,source...
                How to create that control ?.Is this possible ? Its very urgent
                Kindly send me reply soon

Regards,
Friend
Schlurk
Top achievements
Rank 2
 answered on 03 Sep 2009
3 answers
123 views
Hi,

How can we search for a particular row in a grid and how to highlight the row.

i am using radgrid. i am developing one page for searching the employee details.

first i have bind the grid with data from database.

when i click on the find button it find the employeeid in the grid and highlight the particular row.



thanks,
Justin
Top achievements
Rank 1
 answered on 03 Sep 2009
4 answers
156 views

I have a Chart inside an UpdatePanel that is bound to a SqlDataSource. Outside the UpdatePanel, I have a dropdownlist. The SqlDataSource uses the selected value of the drop down list as a control parameter when selecting data that is used in the chart. By itself, this setup is working great. When I change the drop down list value, the chart updates. If the SqlDataSource returns 0 records, the chart shows the EmptySeriesMessage

However, I tried adding a Click event in the code behind. This is all I added: 
Protected Sub RadChart1_Click(ByVal sender As Object, ByVal args As Telerik.Charting.ChartClickEventArgs) Handles

End Sub

Now when I change the selected item in the drop down list, everything works fine, but only if there SqlDataSource returns results. If the SqlDataSource has 0 results, then I get a JavaScript error and the chart does not update. The javascript error is PageRequestManagerServerErrorException Object reference not set to an instance of an object.

Can anyone help me? Is this a bug with the RadChart?

Kim
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
85 views
Hi

I frequently use RadGrid in the automated edit, delete and  'Add New Record' mode as a very quick
solution to input and edit of data.

However I have not found a clean way of saving today's date in my DateCreated field when a new record is
created using the 'Add New Record' command button, other than a separate database update function after the
RadGrid has saved the other data. This seem to be making what should be a simple job, complex.

Can you tell me how best to do this either declaratively or in code behind in the appropriate RadGrid event.

Thanks a lot for your expertise!

Clive

Mr. Plinko
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
183 views
I have been playing around with the color picker and I notice a behavior which doesn't seem logical. When hovering over the pallete, the "preview" color is shown as you hover over each option, however, if you stop hovering over the colorpicker, the last hovered-over color is what is shown in the preview, even if this color was not selected (clicked on).  In my opinion, when you move your mouse outside of the area that shows the color pallet, the preview should revert to the currently selected color. If the picker's SelectedColor is not set, then it should display a default ("white" I suppose, or even beter, a box with a line denoting "No Color"). I can't off the top of my head think of any scenario where you would want the preview pane to remember the last color that happened to be hovered over, since, in order for the user to "leave" the pallete, they likely have to hover over colors they don't want to select. Even if there were such a scenario, I would think my example would be a much more natural behavior. Either way, there should be some sort of setting which defines this, and I  couldn't find this. Is there any way to prevent this behavior in the current control?
Tsvetie
Telerik team
 answered on 03 Sep 2009
1 answer
59 views
I am having a problem removing the PageSize label and combobox.  I stepped through the code and found that:

e.Item.Controls(0).Controls(0).Controls(0).Controls(0).Controls(3).Visible = False

works (sort of)... Then some research online I found that:

e.Item.FindControl("ChangePageSizeLabel").Visible = False
e.Item.FindControl("PageSizeComboBox").Visible = False

Works as well.  The problem is that when I click to change the page (with ajax) the code no longer works.  I was able to remove using CSS but Something else I am doing is setting a mouse over on each page button.  This works, but not with ajax postback.  Stepping through the code, I set the tooltip on the button the same for page load and ajax postback but it appears that pager changes do not take affect for ajax partial page rendering.  Sniffing the packets I see the update panel updating the radgrid but the <a> tags do not have a title like they do in the original page load.


UPDATE: I turned off Ajax and found that it is NOT Ajax it is postback period.
Doug
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
141 views


Hi,

We're evaluating Telerik navigation controls. And want to know if they provide multilingual support, to be used along with variation(multilingual feature) within MOSS 2007.

Thanks
Jaswinder
Edgard VDM
Top achievements
Rank 1
 answered on 03 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?