Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
289 views
I have an odd question.  I have a radgird that I allow edit and insert here is a sample of a column

<telerik:GridTemplateColumn HeaderText="Description" SortExpression="Description" UniqueName="Description"  >                                                       
      <ItemTemplate>                                                        
               <asp:Label runat="server" ID="lbDescription" Text='<%# Eval("Description")%>'></asp:Label>
      </ItemTemplate>
      <EditItemTemplate>                                                        
              <telerik:RadTextBox ID="tbDescription" Width="300px" TextMode="MultiLine" Text='<%# Eval("Description")%>'
                        runat="server" />
      </EditItemTemplate>
</telerik:GridTemplateColumn>
  The problem is the label "Description:" is aligned vertical center on the RadTextBox.  Is there a way to align it Vertical Top?
Vasil
Telerik team
 answered on 26 May 2011
5 answers
115 views
I have to create a grid like this. Its like loading double grid.
The customer data was loaded in a general grid and the aging details should load inside the main grid as shown in the Gird.
$uren
Top achievements
Rank 1
 answered on 26 May 2011
2 answers
213 views
Hi.
How can i remove edit button for a detailtable with in place mode in a hierarchical grid?
I have found a solution for a grid as follows:

   if (e.Item.OwnerTableView.IsItemInserted && e.Item is GridDataInsertItem)
            {
                radGrid.MasterTableView.GetColumn(columnName).Visible = true;
                foreach (GridDataItem dataItem in radGrid.MasterTableView.Items)
                {
                    (dataItem[columnName].Controls[0]).Visible = false;
                }
            }
            else
                radGrid.MasterTableView.GetColumn(columnName).Visible = false;

but can't find out who to hide the edit button for the detailtable when i have a hierarchical grid with on detail table. Anyone?
Cecilie Nordbø
Top achievements
Rank 1
 answered on 26 May 2011
1 answer
73 views
Hi team,
usually the client select column select all the checkboxes in the grid , but what i want is when i click the checkbox in the header of the gird
i want to check only the checkboxes that are enabled in the grids.Please provide the code snippet to acheive this.
Princy
Top achievements
Rank 2
 answered on 26 May 2011
4 answers
450 views
I want to use a window as a means of collecting data, validating when the user presses OK then if all is OK, return to the parent form and save to the database.

Your "Returning Values from a Dialog " sample doesn't actually return to the code behind part, but updates the form using a java script.

I'm not very familiar with scripts and would prefer to do the work in the code behind part of the form.

How can I do this?

Thanks
Jeremy
Marin Bratanov
Telerik team
 answered on 26 May 2011
8 answers
153 views
Hi.

I'm using a RadGrid object and I want to find an item by its keys values.

The dictionary is a Hashtable that is filled with a foreach iteration.

Hashtable d = new Hasthable();
for (int i = 0; i < partK.Length; i++)
{
    d.Add(partK[i], partV[i]);
}
GridDataItem[] gdis = listGrid.MasterTableView.FindItemsByKeyValues(d);

I'm using the following example. Dictionary d is filled with the following values:

-       d   Count = 2   System.Collections.Hashtable
+       ["MVFCodCIA"]   "035"   
+       ["MVFRefXRisk"]   "70000598"   

At the listGrid, if I make the following question at the inspection window I have this:

listGrid.Items[7].KeyValues   "{MVFCodCIA:\"035\",MVFRefXRisk:\"70000598\"}"   string

So the item exists.

When I debug the code, gdis.Length is 0, so the FindItemsByKeyValues doesn't find me the item I'm searching.

Am I doing something wrong?

Thanks.
Jesús
Top achievements
Rank 1
 answered on 26 May 2011
5 answers
309 views
Hello,

Is there a feasible way of determining what the new value will be of an input control inside of a OnKeyPress client-side handler?

- I've seen a lot of postings here showing sender.get_value() + args.get_keyCharacter() - but of course that assumes that the user is typing straight through and the cursor is at the end of the control. Not always the case! ;)
- The reason I'm looking to do this is to implement regex validation in real time (keydown or OnKeyPress), before the control loses focus. OnValueChanged and OnValueChanging occur on blur. (ASP.NET validation on post-back is clumsy and not appropriate for the circumstances we need this).

Ideally, though, Telerik could release a RegEx version of RadTextBox!

Thanks,

- Mike
Tsvetina
Telerik team
 answered on 26 May 2011
3 answers
100 views
hey everyone,

How can i bind the radgrid using Wcf workflow service application.I have a seperate project where i've created wcf service using workflow,
but m not able to get the data from my service to the UI.

Thanks
Amit
Genti
Telerik team
 answered on 26 May 2011
1 answer
39 views
I am getting the 'htmlfile:Unexpected call to method or property access'  error while I select a Treeview node and click on a button on the second attempt. i.e first I select a node and click on the button which opens a Radwindow pop up and then when I close the Radwindow , I make a Ajax request on the parent page to refrsh the Treeview control. Once that is done , when I select some other node and click on the button (to update the information opening a Radwindow) , I get the above error mentioned. I read in several of your threads that It is related to IE 8 and the latest version of RadControls for ASP.NET AJAX resolves this issue. But I have the latest 2011 1Q SP2 version, but still it's not resolved.

Thanks
Madhu
Kate
Telerik team
 answered on 26 May 2011
3 answers
130 views
Hi,

I have a need to plot movement against time from a number of different sensors (5-7)

I am holding the sensor type and time of activation in a SQL database.

Is it possible to have a multiple charts that share a common x axis(time in minutes) so that I can have one chart per sensor? Where the y axis shows a single sensor activation. Basically a series of bar charts.

Ideally I would like to be able to zoom on one chart and have all charts zoom to the same level and also be able to use the graph in a report.

Does any one have any idea if this is even remotely possible?

All and any help greatly appreciated.

Thanks

Chris
Giuseppe
Telerik team
 answered on 26 May 2011
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
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
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
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?