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

        I am using radgrid binded to a list of business objects retreived from tier 2. I have written the code to get the list of objects in the grid_NeedDataSource method. But since this method is getting hit for any single operation like filtering or soting or paging, the response time is very high along with the network delays. Is there any way to get the list only once and do rest all logic at the tier 1 itself. Please help.

Regards,
Saravanan K
Pavlina
Telerik team
 answered on 16 Nov 2010
3 answers
169 views
Hello Telerik Team,

I am having RADgrid in on of the module of my application. In there we have linkbutton by which i have to download document.

So before i implemented client binding it was working on server side by Item command event. but as i have implemented client side binding i m not getting command argument which are given on client side by javascript.

so below is the code running on server side,
 
MemoryStream stream = TheWay.GetDocument("*", Number, "*", "*") as MemoryStream;<br>
 Response.ContentType = contentType ?? "text/plain";<br>
                                Response.AddHeader("Content-Disposition", "attachment;filename=" + attachment.FileName);<br>
                                byte[] buffer = stream.ToArray();<br>
                                stream.Read(buffer, 0, Convert.ToInt32(stream.Length));<br>
                                Response.ClearContent();<br>
                                Response.BinaryWrite(buffer);                                <br>
                                Response.End();   


Now, Can we do this thing in javascript or by web service? I m not sure abt this one.
Tsvetoslav
Telerik team
 answered on 16 Nov 2010
1 answer
71 views
Hi ,

I asked question in forum,here a link 

Somebody knows the answer to this question.?
 

Pavlina
Telerik team
 answered on 16 Nov 2010
4 answers
272 views
Hi Everyone,

I dont know whether this have asked before or not?

I have a radeditor with basic controls enabled[B,I,U,fontColor...], before which i have a radcombo box.
Now i set TabIndex to radcombobox as 1 and to radeditor as 2
is it possible to get the focus on radeditor text area instaead of complete radeditor on click of tab in radcombobox or else i have to use javascript?


Thanks in advance for helping
UmaKiran
Top achievements
Rank 1
 answered on 16 Nov 2010
7 answers
121 views
Hi,
Lets consider the following example:
I have a line chart with 2 chart series, which are serie A and serie B. The line chart has 2 Y axis. The primary Y axis is for chart serie A, and the secondary Y axis is for serie B. These two chart series A and B use the same X axis.
In the database, serie A has continuous data from 10/01/2010 to 10/30/2010. On the line chart, serie A will have 30 data points in total, from 10/01 to 10/30.
Otherwise, serie B does not have continuous data, It does not have data from 10/03/2010 to 10/06/2010. As a result of this, on the line chart, serie B will not have data points of 10/03, 10/04, 10/05 and 10/06. The data point next to 10/02 will be 10/07, for serie B. This also means serie B will have 2 data points less than serie A.

Questions: is there any way I can do so that series A and B have the same number of data points on the chart. The value of these missing data points will not be displayed, and will not be assigned as 0. What I want is the line chart still connects the two data-available data points. 

Thanks,
Yavor
Telerik team
 answered on 16 Nov 2010
1 answer
133 views
hi

I have a checkbox implemented in the radgrid. I have also created 2 objects for insert and delete and both of these objects takes in a parameter productid for insertion and delete.

I want to insert when a product is checked and delete when a product is unchecked. i am stuck here. Thanks

Protected

 

Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs)

 

 

Dim item As GridDataItem = DirectCast(TryCast(sender, CheckBox).NamingContainer, GridDataItem)

 

item(

"ProductID").Text

 

 

End Sub

 

Shinu
Top achievements
Rank 2
 answered on 16 Nov 2010
1 answer
84 views
What do I use to reduce the header style/height of the progress area?
All the skins have a large header bar across the top of the progress area.
I believe it is using a couple of "tall" .gif images to create the hearder?
What part of the style whould I use to either remove this or reduce the height?
Upload or progress?
Thanks,
~bg
Genady Sergeev
Telerik team
 answered on 16 Nov 2010
4 answers
220 views
Hi All,

how to change the font of RADGRID column.
I am using datarelation in Grid.  Autogenerated column = true


Bharat Rathore

Bharat
Top achievements
Rank 1
 answered on 16 Nov 2010
2 answers
112 views
I'm working on a Scheduler page that opens the add/edit form in a RadWindow. I based the idea on the External Edit in RadDock demo.

I have a question though.

I'm opening my RadWindow using code very like this from the demo...
ScriptManager.RegisterStartupScript(Page, GetType(), "formScript", "Sys.Application.add_load(openForm);", true);

I'd be interested to learn why this works when this ...
RadAjaxManager LocalManager = RadAjaxManager.GetCurrent(Page);
LocalManager.ResponseScripts.Add("OpenForm();");

doesn't.

-- 
Stuart

Stuart Hemming
Top achievements
Rank 2
 answered on 16 Nov 2010
6 answers
237 views
I have a RadToolTipManager on a master page and a RadComboBox on a child page.  I am trying to show a tooltip for the combobox on the onFocus event.  First off, the tooltip won't show using the ToolTipManager's showevent=onFocus property.  If I set the OnClientFocus property of the RadComboBox to show the ToolTip via javascript, I get a javascript runtime error (Object doesn't support this property or method).

If I put the RadToolTipManager on the child page, everything works fine, but I need it to be in the masterpage.  Any thoughts?

Thanks...
Svetlina Anati
Telerik team
 answered on 16 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?