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

We have a radgrid, the gird contains the template columns. In item command event i am updating the grid contro.
After updating the record it is not coming to the original view.  the grid is still showinig the data in edit view i.e. all the edit item template controls (textbox,dropdownlist....) are still showing.

How can i show the grid in normal view after updation.

Thanks & Regards,

Sai
Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
2 answers
125 views
Hi,

I am using grid and one of columns has date and time in it - for example 18.12.2009 13:00. Problem is, that after I click sort icon the time part is automat. cut off and filters are working with 18.12.2009 instead. 

But if I set PickerType="DateTimePicker" everything works, but 2 icons appear and I really need to hide those 2 icons (calendar + clock). Is it possible ? Thank you.
Pavel
Telerik team
 answered on 11 Aug 2009
1 answer
73 views
Hi Telerik,

I'm trying to finish off an evaluation project and am having trouble with detail tables.   The project has 2 detail tables under the master table - no big deal there.

However, when setting up controls on the second table's edit form template, the list of fields to bind to is for the master table and not the detail table.  I tried going into the first detail table's edit form template, but the drop down list of fields is greyed out (even when I click refresh schema).

Is it a case that in a detail table you have to bind the fields by hand?

Thanks,
Peter
Pavel
Telerik team
 answered on 11 Aug 2009
1 answer
113 views
Hi,

I want to add spellchecker in my rad editor.
But icon for spell checker is not showing in rad editor.
However i add icon in Editortoolsfile.xml.
Please help me ASAP.

Thanks in advance

Jyoti Khurana
Martin
Telerik team
 answered on 11 Aug 2009
1 answer
79 views

I'm using a parsecontrol function (Controls.Add(ParseControls(string)); where string contains a definition of (amongst others) a RadEditor complete with a content-tag. My problem is that the html text inside the content tag is shown in the editor in design mode as html-code ( i'm only running the design mode). If i use the same content( the same html-text) and use radeditor1.Content = string in the pageload (where radeditor1 is an editor on the aspx file, so not dynamic generated), it is read as html and shown in the correct way (so bold text etc instead of the code <b> ).
How can i make the dynamically generated radeditors read the html-content correctly?

Thanks

 

 

Rumen
Telerik team
 answered on 11 Aug 2009
1 answer
104 views
hi all,

how to change the button text of radupload?

thanks
Shinu
Top achievements
Rank 2
 answered on 11 Aug 2009
1 answer
105 views
I'm looking to do a three level nested grid with the last detail table having a radiobuttonlist to filter the data.


-Hierarchy 1

   -Hierachy 2
 
Show All (6 Records)   Show X (3Records)   Show Y (2 Records)   Show Z (1 Record)
     -------------------Detail Table------------------


The radiobutton list is created on demand and on postback rebinds the data in the detail table based on a filter value.

Any examples of this out there?




Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
3 answers
331 views
Hi,

I'm using the Grid and all is peachy in terms of skinning the grid itself, but I can't seem to find a place where one can choose the skin to use for a column that makes use of the RadWindow.

E.g.
<telerik:GridButtonColumn CommandName="Delete" ConfirmText="Are you sure you want to delete this Item ?" 
  ConfirmDialogType="RadWindow" Reorderable="False" Text="delete" UniqueName="column1" ConfirmTitle="Delete Item" /> 

I don't see any obvious attribute on this column that allows me to say which skin, or custom skin, this Confirm Dialog should use.

How do I skin the confirm Dialog?

Regards,
Jacques
Veli
Telerik team
 answered on 11 Aug 2009
1 answer
77 views
I have a grid inside a user control.

i made an GridTemplateColumn with a customized edit button.
When I click the customized edit button, a pop up will show and and user can now edit the items selected.

my problem is when i click on the ok of the pop up the grid does not rebind....

i placed a rebind code in the onclientclose event of the popup.
i also have and ajax panel on may grid

when i press F5 or refresh the page, the grid shows then changes made from editing the grid.
 
I also noticed that when i click sort on my grid, the edited item shows.

correct me if im wrong but i think my data source is updated as well as my grid but i think that the grids display does not change.

please help.  I have many usercontrols that have the same problem.

Grid that does not change its display even after rebind.
Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
1 answer
112 views
OK, I've been searching for an answer for quite a while now and still, nothing works.  I've tried both CheckboxColumn and Template column.  In both cases, I can check the box on the form, but when I do a postback, the state is always reported as the default in which I set it.

I'm not doing anything fancy here.  All I want is to be able to loop through the records and see if the user checked anything and set up the operation I need to do on that. 

Here is the current code:

ASPX:

               <radG:GridTemplateColumn UniqueName="cbCol"
                                        HeaderText="Select">
                  <ItemTemplate>  
                     <asp:CheckBox ID="cbSelection" runat="server" Checked="false" />  
                  </ItemTemplate>  
               </radG:GridTemplateColumn>                 


ASPX.CS

   protected void ExecuteSubmit(object sender, EventArgs e)
   {
      foreach (GridDataItem X in RadGrid1.Items)
      {
         CheckBox ItemSelect = (CheckBox)X["cbCol"].FindControl("cbSelection");

         if (ItemSelect.Checked)
         {
                 //  NEVER reaches here if checkbox was defaulted to 'unchecked' regardless of the state of the control on postback.
         }
      }
   }

What am I missing?



Princy
Top achievements
Rank 2
 answered on 11 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?