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

Can someone tell me how can I get rid of numbers displayed on top of each bar on the chart attached as it is simply displaying the value from Y-Axis?

Many thanks.
MG
FISCAL
Top achievements
Rank 1
 answered on 08 Oct 2010
1 answer
300 views
Hello...

I have a Grid whose columns contains controls, for example, a RadMasketTextBox control. I implemented the TextChanged of that control to set the value of a hidden field to "true".

The problem is that I want to read that hidden field from a JavaScript. Is it possible to do it? I tried with RadAjaxManager, with this settings:

<rad:RadAjaxManager ID="ajaxManager" runat="server">
    <AjaxSettings>
        <rad:AjaxSetting AjaxControlID="gdvPeriodos">
            <UpdatedControls>
                <rad:AjaxUpdatedControl ControlID="gdvPeriodos" />
                <rad:AjaxUpdatedControl ControlID="hidModificado" />
            </UpdatedControls>
        </rad:AjaxSetting>
    </AjaxSettings>
</rad:RadAjaxManager>
<asp:HiddenField ID="hidModificado" Value="false" runat="server" />

When the JavaScript function executed the following command:
var serverModifiedFlag = eval(document.getElementById('hidModificado').value);
always "false" is returned, even when I modify the hidden value from a Grid event in codebehind.

Any help will be appreciated
Thanks

Jaime


Maria Ilieva
Telerik team
 answered on 08 Oct 2010
3 answers
93 views
After upgrading to the latest version I've noticed a very behaviour with the RadGrid. If I change the properties in the normal properties in Visual Studio for anything under EditFormSetting, it won't be trigger a change in the the actual code most of the times. Changing other properties though will work as expected (at least the ones I've tried). Well, guess what, when changing the same properties in the Teleriks "Properties builder" on the Smart tag (same page, same grid), it ALWAYS works as expected. Please note that in the properties window (ie not the properties builder), the displayed properties do change, but it just doesn't trigger any changes in the code.

Yes, I know this sounds weird, but I have witnesses that can confirm this is actually happening and not something I've dreamt up :)
improwise
Top achievements
Rank 1
Iron
Iron
 answered on 08 Oct 2010
1 answer
215 views
Hi,

I am using RadFilter with RadGrid. When I use the filter option I see that it is case sensitive. Is it possible for me to make the filter work ignoring the case.

Thanks,
Mithun 
Sebastian
Telerik team
 answered on 08 Oct 2010
1 answer
77 views
The following is my grid code. I could expland multiple details at once. I only wanted one detail to be opened at a time. For example, when i expand one, it should collaps other details. I tried for the property but was unable to find. Any help is appreciated.

<telerik:RadGrid ID="grdWorkFlow" runat="server" Width="100%" ShowStatusBar="True" AutoGenerateColumns="False"
                                            PageSize="7" AllowSorting="True" AllowPaging="True" GridLines="None">
                                            <PagerStyle Mode="NumericPages"></PagerStyle>
                                            <ClientSettings EnableRowHoverStyle="true">
                                                <Selecting AllowRowSelect="true" />
                                            </ClientSettings>
                                            <MasterTableView Width="100%" DataKeyNames="Record_Status_ID" AllowMultiColumnSorting="True"
                                                AllowFilteringByColumn="False" ExpandCollapseColumn-Display="True">
                                                <DetailTables>
                                                    <telerik:GridTableView DataKeyNames="ID" Name="Workflow_list" Width="100%" AllowPaging="True" PageSize="5" AlternatingItemStyle-BackColor="AliceBlue">
                                                        <Columns>
                                                          
                                                            <telerik:GridBoundColumn SortExpression="ID" HeaderText="EFDR#"
                                                                HeaderButtonType="TextButton" DataField="ID" Visible="true">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn SortExpression="Name" HeaderText="Name" HeaderButtonType="TextButton"
                                                                DataField="Name" UniqueName="Name">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn SortExpression="Date" HeaderText="Date"
                                                                HeaderButtonType="TextButton" DataField="Date" UniqueName="Date">
                                                            </telerik:GridBoundColumn>
                                                           <telerik:GridTemplateColumn UniqueName="View">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="lnkView" runat="server" CausesValidation="false" CommandArgument='<%# Eval("ID") %>'
                                                                        CommandName="View" Text="View"></asp:LinkButton>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="10px" />
                                                            </telerik:GridTemplateColumn>
                                                           
                                                           
                                                           
                                                        </Columns>
                                                    </telerik:GridTableView>
                                                </DetailTables>
                                                <ExpandCollapseColumn Visible="True">
                                                </ExpandCollapseColumn>
                                                <Columns>
                                                    <telerik:GridBoundColumn SortExpression="Record_Status_ID" HeaderText="Record_Status_ID"
                                                        HeaderButtonType="TextButton" DataField="Record_Status_ID" Visible="False">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn SortExpression="Description" HeaderText="Work Flow Item"
                                                        HeaderButtonType="TextButton" DataField="Description">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn SortExpression="Num" HeaderText="Number" HeaderButtonType="TextButton"
                                                        DataField="Num">
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                            </MasterTableView>
                                        </telerik:RadGrid>

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 08 Oct 2010
1 answer
111 views
I am wondering if there is a way to turn off the "Move" cursor when a radwindow has been maximized? If you check out the demo at 
http://demos.telerik.com/aspnet-ajax/window/examples/behaviors/defaultcs.aspx and then maximize the window, notice that when you hover over the title bar, you are still given the cursor to move or drag the window, even the the position is locked. 

Is there a setting or process to change this? Thanks in advance to any ideas/advice.
Bozhidar
Telerik team
 answered on 08 Oct 2010
4 answers
104 views

Hi:

I have a RadGrid, the Radgrid contains  a form template, his control are binding to a SqlDataSource.

  

When insert an element sends a mail (with .net libraries) into a mail that the user have inserted in a specific field. 

The code works fine, but when the user introduce a invalid mail like  'badmail@badmail.com' when the user press insert button,  send of mail fail (I manage the error in the event), radgrid shows what happen,  but all fields are empty.

The code is the following

01.  protected void SqlDataSource1_Inserting(object sender, SqlDataSourceCommandEventArgs e)
02.  {        
03.  
04.      
05.  
06.        SqlDataSource1_Inserted        
07.        DbCommand command = e.Command;
08.        DbConnection cx = command.Connection;
09.        cx.Open();
10.        DbTransaction tx = cx.BeginTransaction();
11.        command.Transaction = tx;
12.    }
13.  
14.  
15.  
16.  
17.protected void SqlDataSource1_Inserted(object sender, SqlDataSourceStatusEventArgs e)
18.{
19. try
20. {
21.        DbCommand command = e.Command;
22.        DbTransaction tx = command.Transaction;
23.        //Here code that sends email, process can fail.
24.        tx.Commit();
25. }
26. catch (Exception exception)
27. {
28.        tx.Rollback();
29.        throw exception;
30. }
31.}
32.  
33.protected void RadGrid1_ItemInserted(object source, Telerik.WebControls.GridInsertedEventArgs e)
34.    {
35.        if (e.Exception != null)
36.        {
37.            e.ExceptionHandled = true;
38.            e.KeepInInsertMode = true;
39.            //Display a message to show the error
40.        }
41.    }

I whish that when the sent of mail fails, all the data of the form were preserve ¿Is it possible?

Thanks.

manu
Top achievements
Rank 1
 answered on 08 Oct 2010
4 answers
206 views

Hello.

I it is necessary from Default.aspx to cause function in open window RadWindow. Function cause when window is loaded,

Default.spx  javascript code:

var oWnd = GetRadWindowManager().getWindowByName( "RadWindow1");

oWnd.get_contentFrame().contentWindow.CalledFn();

Radwindow  javascript code:

function calledFn()
{
  alert("ok");  
}

Error:Mistake of the execution Microsoft JScript: Object does not support this characteristic or method

That wrong?

Sari
Top achievements
Rank 1
 answered on 08 Oct 2010
0 answers
161 views
Hi Team,

In my application i'm using combobox with enable load on demand but if i given any value to filter like "a" means it will take too much time to loading and  showing the Text with name "a" .. i want to use webservice but not able to access webservice in my application.. i want to store combobox value to database so based on condition i want to create Webservice..

i'm using filter is start with..

I"m Using Method to load the combobox from dataset.. and i'm using this method in page load.

Please Give me the Solution as soon as possible...Else tell us how to use webserveice using dataset ...


Regards,
Ashok Anbarasu

Ashok
Top achievements
Rank 1
 asked on 08 Oct 2010
1 answer
97 views
Hi,

I have a treeview which has a few nodes disabled. Now the problem is the disbaled nodes could not be collapsed. The full node ia disabled. I want the node text to be disabled however they should be collapsable.

Please suggest.

Thanks
Shinu
Top achievements
Rank 2
 answered on 08 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?