Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
96 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
99 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
92 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
198 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
138 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
299 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
164 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
120 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
70 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
1 answer
256 views
I don't know if it's a bug or it's designed to behave like this.

I've a RadBinaryImage defined like this:
<telerik:RadBinaryImage ID="radBinaryImageTester" runat="server" Width="600px" Height="600px" ResizeMode="Fit" AutoAdjustImageControlSize="true" />

On code-behind I populate the control with a byte array image:
byte[] foto = ....; // image bytes

radBinaryImageTester.DataValue = foto;
radBinaryImageTester.DataBind();


My goal is to fill the maximum area of the RadBinaryImage. When the foto is larger than 600x600, the control resizes it to fit in. But when the image with smaller (example: 300x200), it shows only the original size. There's a way to enlarge it to 600x400?
Sérgio
Top achievements
Rank 1
 answered on 14 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?