Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
358 views
I have below telrik grid. 

As I am populating my grid dynamically, I have made AutoGenerateColumn = true. In the column section under MasterTableView I have created two hyperlink (i.e. GridHyperLinkColumn). I want to execute a server side event when user clicks on that column (i.e. Just like onclick event for both hyperlink)



<telerik:RadGrid ID="gvInvoice" Width="98%" AllowPaging="true" AllowSorting="true" PageSize="100"
                                    runat="server" AutoGenerateColumns="true" CellSpacing="0" GridLines="None" Skin="Office2010Blue"
                                    OnPageIndexChanged="gvInvoice_PageIndexChanged"
                                    ShowFooter="True" Height="100%">
                                    <MasterTableView>
                                        <Columns>
                                          <telerik:GridHyperLinkColumn Text="Add Comments" UniqueName="Comments"  HeaderStyle-Width="120px" HeaderText="Comments" NavigateUrl="#"></telerik:GridHyperLinkColumn>
                                          <telerik:GridHyperLinkColumn Text="Add Documents" UniqueName="Documents" HeaderStyle-Width="120px" HeaderText="Document" NavigateUrl="#"></telerik:GridHyperLinkColumn>
                                        </Columns>
                                    </MasterTableView>
                                   
                                    <PagerStyle Mode="NextPrevAndNumeric" />
                                    <ClientSettings>
                                    <Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" /></ClientSettings>
                                </telerik:RadGrid> 
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2012
1 answer
84 views
Hi,
        I want to write code snippet mannually for rad grid's insert update delete oprations. I have usercontrol and in aspx page i have used sqldatasource, but I dont want to use atuomatic facility of rad grid. So I want to know how to do database oprations through code behind. What would be the commands or events I need to complete it.
Dose any one give me example to write all the things manully at codebehind file. I am using Sql server 2008. So i want to know how to write the code to perform the oprations. If possible please give me example.

Kindly help me as early as possible.
Princy
Top achievements
Rank 2
 answered on 14 Mar 2012
2 answers
78 views
I'm just getting into the Telerik Scheduler. On our advanced form, there is a Resource (named Client) that when the selected index changes on the dropdown, it shows an updated attribute in the disabled 'attribute' textbox.

Is there any way to do that easily without having to generate my own advanced form?

For clarity, if I changed my Client to John, I would have a value of 1 show up read-only, but when changing it to say, Sue, it would change to 4.

Plamen
Telerik team
 answered on 14 Mar 2012
1 answer
80 views

hi

we are using hierarchical grid of two level and having one details table and one master table and  master table  have less number of column compare to column of details table grid ..and i have face formatting problem when try to export record from nested grid..

please help me ????????????????????????????????

Princy
Top achievements
Rank 2
 answered on 14 Mar 2012
1 answer
174 views
In the FIle explorer i have a shared folder for anyone in a company and a user folder. The user folder i can upload move and delete files in the shared i cannot do anything but upload and create a folder.Any way to change that? Any help would be appreciated thanks!
Pero
Telerik team
 answered on 14 Mar 2012
1 answer
117 views
Hi dear,

I have an AjaxAutocomplete control with a RadTabStrip one in a page.I want to see the popup of AutoComplete Over RadTabStrip, and the RadTabStrip be at the below of that. what's the solution for me?
Kevin
Top achievements
Rank 2
 answered on 14 Mar 2012
6 answers
271 views
Hi All,

i have page that is dividedusing radsplitter and radpanes...

i have in the left pane a rad tree view control, on each node it it when clicked, i open another new page in the right pane....

this page in the right pane has radgrid to get some data in the data base, i have link button on each row on which when clicked i open a rad window using this javascript function... i attach this js function on the onclick attribute of the link button in the grid databound event.

function ShowEditForm(id, rowIndex, sTitle, sStatusText) {
                   var grid = $find("<%= gvTasks.ClientID %>");
                   var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
                   grid.get_masterTableView().selectItem(rowControl, true);
                
                   var x = window.radopen("TasksPage.aspx, "TaskTabs");
                   x.set_title(sTitle);
                   x.maximize();
                    
                  return false;
               }


and this is my RadWinodwManager tag

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
           <Windows>
               <telerik:RadWindow ID="TaskTabs" runat="server" Title="Editing record" Height="485px"
                   Width="1100px" left="0px" ReloadOnShow="false" ShowContentDuringLoad="false" 
                   Modal="true" VisibleStatusbar="True" Behaviors="Close, Maximize, Reload"    >
                   </telerik:RadWindow>
                        
           </Windows>
       </telerik:RadWindowManager>


all is good and the window is opened and maximized as expected in the right pane and it is modal.

while doing testing, i noticed that and while the winodw is opened, i can click on any tree node in the tree view in the left pane and as excpected the navigated page is opened in the right pane.

what i need is how to prevent clicking on  any tree mode while this window is opened!!!! i need it to be modal on the whole main page not just on the right pane page????

please help...
thanks in advanced....
Asa'ad...
Asa'ad
Top achievements
Rank 1
 answered on 14 Mar 2012
5 answers
138 views
i Upgrade to Q1 2012 (version 2012.1.215):
Can not use requiredfieldvalidator SetFocusOnError="True" of RadNumericTextBox / RadTextBox
Internet Explorer 9 hangs......

I use 2 RadNumericTextBox and 1 RadTextBox on my page (i use RadFormDecorator)...
Vasil
Telerik team
 answered on 14 Mar 2012
1 answer
111 views
Hi,
out of the Box RadGrid with enabled MutlirowSelection behaves similar to Excel. (f.e. mutltiple row selection by holding shift to get all rows from one selected to new selected row or holding pressed ctrl to select various rows).
Logically my grid looses all other selected rows when clicked  on a new row without holding ctr pressed.
Our wants the grid to behave the following way:
  • Select row by simple click on ANY place in the row not hollding ctrl without deselecting previously selected rows
  • Deselect selected row the same way and behaviour 

Is there a way to make selection behave like having permanently ctrl pressed?


Greetz,
Steffen
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2012
1 answer
60 views
I like to propose a improvement for the grid filter menu.

The GridKnownFunction enumeration lists the possible filter functions 

Example:
        // Summary:
        //     Same as: dataField LIKE 'value/%'
        StartsWith = 3,

But why are these GridKnownFunction enumeration NOT used in the GridFilterMenu items.
Example:

protected void RadGrid1_Init(object sender, System.EventArgs e)
{
    GridFilterMenu menu = RadGrid1.FilterMenu;
    int i = 0;
    while (i < menu.Items.Count)
    {
        if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains" || menu.Items[i].Text == "EqualTo" || menu.Items[i].Text == "GreaterThan" || menu.Items[i].Text == "LessThan")
        {
            i++;
        }
        else
        {
            menu.Items.RemoveAt(i);
        }
    }
}

I do not like to use these string values in code (because when telerik decide to change them, 
i must adapt my code and i don't like that kind of work)
Therefore Telerik please at lease create const string for it.
Example
    GridFilterMenuNoFilter = "NoFilter";


Antonio Stoilkov
Telerik team
 answered on 14 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?