Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
136 views
Hi$0$0$0$0Any help appreciated. I'm binding a radGrid to an object I have written. I can display data from the object fine. I have set the property AllowAutomaticUpdates = False so that I can handle updates to the object within the UpdateCommand event. However, whilst in that event I can't seem to find the actual data that has changed. Perhaps someone could point me to the data or have I not understood something?$0$0$0$0$0Thanks.$0$0Luke$0$0$0$0
Luke
Top achievements
Rank 1
 answered on 01 Oct 2008
0 answers
132 views

I set up a page based on this example where windows can be opened with tab links:

http://demos.telerik.com/ASPNET/Prometheus/Window/Examples/RadWindowAndMDI/DefaultVB.aspx

I have a menu that uses  RadMenu with a drop down hierarchy similar to this:

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
  <siteMapNode roles="*" title="Home">
    <siteMapNode url="Default.aspx" title="Home">
    </siteMapNode>
    <siteMapNode url="" title="Home2">
      <siteMapNode url="Default2.aspx" title="Default 2" />
    </siteMapNode>
  </siteMapNode>
</siteMap>

I got my tablist to show sub links like the menu.

<telerik:RadTabStrip OnClientTabSelected="OnClientTabSelected" ID="RadTabStrip1" runat="server" SelectedIndex="2" Skin="Office2007">
                  <Tabs>
                    <telerik:RadTab runat="server" Text="Home" NavigateUrl="HomeTest.aspx">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Home2">
                    <Tabs>
                            <telerik:RadTab runat="server" Text="Home2 Page" NavigateUrl="Default2.aspx"></telerik:RadTab>                                            </telerik:RadTab>   
                    </Tabs>
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" Text="Home3" Selected="True">
                        <Tabs>
                            <telerik:RadTab runat="server" Text="Home3" NavigateUrl="Default3.aspx"></telerik:RadTab>            
                        </Tabs>
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>

However, it only wants to open a window when you click on the main tabs, but I only want windows to open for the sub pages.

Is this possible?

Megan
Top achievements
Rank 1
 asked on 01 Oct 2008
3 answers
326 views
Hi,

Is it possible to disable the DateInput style modification inside a RadDatePicker ?
I would like to disable some fonctionnality like HoverStyle and FocusStyle.

In my case, I have a RadDatePicker with a customvalidator and a ValidatorCalloutExtender attached to it :

<telerik:RadDatePicker ID="RadDatePicker1" runat="server"> 
                </telerik:RadDatePicker> 
                <asp:CustomValidator ID="CustomValidator1" runat="server" Text=" " ControlToValidate="RadDatePicker1" 
                    ClientValidationFunction="RadDatePicker1_Validate" ValidateEmptyText="true" /> 
                <cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender7" runat="server" Enabled="True" 
                    TargetControlID="CustomValidator1" HighlightCssClass="validatorCalloutHighlight"> 
                </cc1:ValidatorCalloutExtender> 

When the RadDatePicker is empty, I change its textbox background color :

<script language="javascript" type="text/javascript"> 
    function RadDatePicker1_Validate(sender, args)  
{  
    var picker = $find("<%= RadDatePicker1.ClientID %>").get_dateInput();  
    var textbox = $find("<%= RadDatePicker1.ClientID %>").get_textBox();  
    if (picker.get_value().length == 0)  
    {  
        textbox.className = "validatorCalloutHighlight"; 
        args.IsValid = false;  
    }  
    else  
    {  
        args.IsValid = true;  
    }  
}  
     
    </script> 
 
Everything is fine until I hover or focus the textbox. In those cases, the default skin of the RadDatePicker is back.

That's why I would like to disable the hover and focus fonctionnality. Is there a way to do it ?

Thank you
Ab


Dimo
Telerik team
 answered on 01 Oct 2008
8 answers
136 views
I have a RadGrid that is populated from an object DataSource (bound in code-behind). I have the sutom pagin all working except it is posting back instead of making the paging call through Ajax. I have a RadAjaxManager on the page that sets the AjaxUpdatedControl to the RadGrid and I even have a RadAjaxLoadingPanel set up and have tol the AjaxManager to use that as it's Default Loading Panel. What am I missing. I've read all the examples (most of which are old enough that they don't use the RadAjaxManager or the RadAjaxLoadingPanel.

Any help will be appreciated.

~Lee
Erjan Gavalji
Telerik team
 answered on 01 Oct 2008
1 answer
145 views
Hi

Can anyone please let me know when I can expect the Q2 2008 sp2 release of ASP.NET Ajax ?
Vlad
Telerik team
 answered on 01 Oct 2008
1 answer
115 views
Hi!

I want to create a client function that "paints" an array of nodes.
It should look like a traditional selection but in a green color for example.
Its not a selection really, I just want to paint some nodes green and when the users clicks over a green-selected node the node should go back to its original state.

Thanks!

Shinu
Top achievements
Rank 2
 answered on 01 Oct 2008
1 answer
126 views
I read an old post on the forum that explains what is needed when the RadGrid is contained within an Update Panel in order for the export functionality to work.
(http://www.telerik.com/help/aspnet-ajax/grdexportwithajax.html).

So I added the Triggers to the UpdatePanel but this didn't work since my Grid (and export button) was contained within a tab of a Tab Control

This resulted in error:
A control with ID 'btnExport' could not be found for the trigger in UpdatePanel 'upTabs'.

For a workaround I had to move the Export button outside of the tabcontrol but this isn't the desired behavior.

Any suggestions?

Thanks!
Debbie
Vlad
Telerik team
 answered on 01 Oct 2008
3 answers
97 views

Hello,

I’m using VS 2008, framework 3.5, and RadChart for ASPNET AJAX Q1 2008.

I’m binding the some data to the RadChart; one of the fields = NULL. I’m trying to disable the “Approximation”, i.e. set EmtyValuesMode.Zero through code behind.  How can I do that?

Thanks,
Moe

Mark
Top achievements
Rank 1
 answered on 01 Oct 2008
1 answer
117 views
Hello,

With a multicolumn combobox is there any way to access the text in the various columns from code behind?

Thanks
Steve
Shinu
Top achievements
Rank 2
 answered on 01 Oct 2008
4 answers
367 views
Whenever I try to set Aggregate="Sum" for an integer column, I get the "Specified Cast is not valid." exception.  I've tried all kinds of things, but always get the exception.   It works fine with Decimal columns.

These cause an exception:

<rad:GridNumericColumn DataField="EstQty" HeaderText="Est. Qty." 
            UniqueName="EstQtyColumn" Aggregate="Sum" NumericType="Number" 
            DataType="System.Int32" DataFormatString="{0:N0}">  
     <HeaderStyle HorizontalAlign="Center" /> 
     <ItemStyle Width="6em" /> 
</rad:GridNumericColumn> 
<rad:GridNumericColumn DataField="FinalQty" HeaderText="Final Qty." 
            UniqueName="FinalQtyColumn" Aggregate="Sum" NumericType="Number" 
            DataType="System.Int32" DataFormatString="{0:N0}">  
     <HeaderStyle HorizontalAlign="Center" /> 
     <ItemStyle Width="6em" /> 
</rad:GridNumericColumn> 
 

While this works fine:

<rad:GridNumericColumn DataField="Postage" HeaderText="Postage" UniqueName="PostageColumn" 
            NumericType="Currency" DataType="System.Decimal" Aggregate="Sum" 
            FooterAggregateFormatString="{0:C}">  
     <HeaderStyle HorizontalAlign="Center" /> 
     <ItemStyle HorizontalAlign="Right" /> 
</rad:GridNumericColumn> 

I'm using Q2 2008 SP1, btw.
Vlad
Telerik team
 answered on 01 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?