Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
106 views
When I clicked Add Button At GridEditForm

I wanna Shut down the Edit Form In Grid was open

How Can I do that.


And... i wanna data bind   RadDatePicker Control In GridEditForm

For Example    <asp:TextBox ID="myID" runat="server" Text='<%# Bind("mydata") %>' />


Please Help me
Yoon-Ho Choi
Top achievements
Rank 1
 answered on 14 Dec 2009
4 answers
112 views
I have a radgrid, with 1 master table, and (x) details table.  I insert rows into sql from the footer of both tables within the grid.  However, when adding rows using the details table, I have to validate all control within all detail table instances to authenticate the validation controls.

How can I only validate the controls within the details table / footer instance that i'm working on?  I can validate using code-behind, but this causes a postback and is not optimal.
Taz
Top achievements
Rank 1
 answered on 13 Dec 2009
3 answers
106 views
hi friends .,

i need to add new attribute to ajax manager ,  i used this code in behind code :
RadAjaxManager1.Attributes.Add("AjaxMode""BlackScreen"); 

Also i used OnRequestStart  clinetside event in java script ... i want when request start , get value of attribute (AjaxMode) of control that make request . how can i do it with java script ? 

thank u very much ,

Regards,
Peyman

peyman naji
Top achievements
Rank 1
 answered on 13 Dec 2009
3 answers
122 views

Hi Telerik,

I have a collection which binds to a grid. In the ItemDataBound event I’d like to access the obj which ties to the current row. How can I do that.

Secondly, I am using template Column, how should I access the control in that column

Thank you  

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 12 Dec 2009
1 answer
148 views
Dear All,

I have a radgrid on one of my UserControls that I need to display data.
1: Data grid needs to show three columns with no data when the usercontrol is loaded.
I put this code in the page_load of the usercontrol:
DataTable dt = new DataTable();  
dt.Columns.Add("Source"typeof(string));  
dt.Columns.Add("Value"typeof(string));  
IdentifiersGrid.DataSource = dt; 
BUT the grid doesn't show anything when loaded, If I put the previous code in the Need_DataSource event it shows the columns.

2: I have a button on the usercontrol that will fill the grid with data, where I create a datatable and fill with data as follows:
dt.Rows.Add(ids[0].Value, ids[1].Value); 
I get an exception "Input array is longer than the number of columns in this table."

What is wrong with this, can someone help

Best regards
Waleed
Waleed Seada
Top achievements
Rank 2
 answered on 12 Dec 2009
2 answers
199 views
Hello,
         I used CommandItemtemplate for edit, insert, update and delete opration. In command item put icons for this operation and used EditForms (FormTemplate) for insert and update operation. User can select row any row from gridview list and perform operation what he/she wants.

My question is i want to find any control from FormTemplate when user click on update icon from commandtemplate. How to find control from selected row formtemplate using CommandItemTemplate.

Reply me soon

Regards,
Bhavesh Rana
Bhavesh
Top achievements
Rank 1
 answered on 12 Dec 2009
2 answers
152 views
Hi,

I have 3 combobox controls that are inside a hidden div, when I click a button I turn that div visible, but the 3 combobox that that div contain do not work in anyway!

the screen cast is using IE 8 and FF 3.5.5


I use jQuery and jQuery Tools (Expose) and in the screen cast you can see it working with Expose disabled, but still does not work on IE or FF... 

the only way I can work with it is using FF with expose and click outside so I can close the Expose, only here it works!

even if I start without being hide (the div that contains the dialog) the comboxes do NOT work as well!

:-/

This is very weird as the code is to simple.

Any help is greatly appreciated.
Søren Hartig
Top achievements
Rank 2
 answered on 12 Dec 2009
4 answers
106 views
I have 5 comboboxes and I need to filter 4 of them based on what was selected in the 5th one. I have implemented this based on the example here:
http://www.telerik.com/community/forums/aspnet-ajax/combobox/related-comboboxes-server-side.aspx

It works for the 1st combobox but not for the other 3. I keep on getting 'The given key was not present in the dictionary.'. Can you show an example of filtering 4 comboboxes based on selected value of 1 combobox.
thanks.
Afo
Top achievements
Rank 1
 answered on 12 Dec 2009
2 answers
198 views
Hi,
I need to display the radprompt from codebehind(vb).My Scenario is , when the user clicks the Delete link button, I need to call the radprompt (code-behind) .and getting the reason for delete.how can i display the radprompt and getting the values entered in the radprompt window using codebehind(vb).Thanks in advance.
Regards
Kadar
Luis
Top achievements
Rank 1
 answered on 11 Dec 2009
3 answers
115 views
Hi

I've had a search trhough the forums and haven't found an answer to this, so aapologies if it's been asked already.

I have a ComboBox which has some long values in it.  The width of the combo restricts what has been selected (you can see aprox. 16 characters of the selection).  This is ok because the selections in the dropdown wrap nicely, so the user can see all of the text what they have selecting.

My problem is once a user selects an opiton.  In Firefox, Chrome and Safari the selection shows the 1st 16 characters and in Internet Explorer it shows the last 16 characters.  I would normally let this go, but our QA department are admanant that the text at the start of the selection should be shown in ALL browsers.

To illustrate I've got the following option in my Combo Box - 'This is a very long option - I need to show the first 16 characters'

In IE I'm getting 'st 16 characters' showing in the seleced box, whereas
In Firefox I'm getting 'This is a very lo' showing in the selected box - this is the preferred option.

If anyone has any ideas how I can get around this, it'd be much appreciated. I hope I've explained this ok!

Thanks for your time

Tim Hardy
Top achievements
Rank 1
 answered on 11 Dec 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?