Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
We have referenced the article "Different styles in each hierarchy level with skin applied" and have successfully changed the style of the DetailTable. However, the "Sort Ascending" and "Sort Descending" header images appear as placeholders with a blank image. How do we reference those images correctly in our style?

We currently have these styles:

 

.detailHeader

 

{

 

 

 

background: #3065AE !important;

 

 

 

font-size: 8pt !important;

 

 

 

color: white !important;

 

 

 

background-image:url('Grid/sprite.gif') !important;

 

 

 

}

 

 

 

 

.detailItem

 

 

 

{

 

 

 

background: #E8F0FA !important;

 

 

 

color: black !important;

 

 

  }

 

 

 

 


The detailHeader style tries to reference url('Grid/sprite.gif') as the background-image, but this isn't working correctly.

 

 

 

 

Sebastian
Telerik team
 answered on 10 Mar 2009
1 answer
113 views


Hi,
im having two page views. When the page loads for the first time, im able to set the focus on the first control, which is an normal text box. when im clicking an button, im loading the second page view. In this page view i need to set focus on the rad date picker.
I cannot set the focus on this control. Can anyone help me on this.
This is the code currently im using. But it is not working.

 

imgBtnContinue.Attributes.Add(

"onClick", "javascript:return setFocus()");

 

 

 

function

setFocus()

 

{

 

var txtSignUpDate = document.getElementById('<%= AddStep2PageView.FindControl("txtSignUpDate").ClientID %>')

 

txtSignUpDate.style.visibility =

"visible";

 

txtSignUpDate.focus();

}

 



Regards,
Chandru

Pavlina
Telerik team
 answered on 10 Mar 2009
2 answers
143 views
Hello,

I have a RadChart with stacked bars to compare 2 timeframes to eachother. First I have some measurements of the first timeframe, the second half of the chart are measurements of the second timeframe. I'm having troubles configuring the chart. It seems to me the strict mode isn't working.

The configuration of the chart is as follows:

Chart.PlotArea.XAxis.DataLabelsColumn =

"XValue";

 

Chart.DataGroupColumn =

"YValueDescr";

with my datatable looking like
XValue:  timestamp        
YValue: the value shown on the chart            
YValueDescr: the name of the serie
With this configuration, a new serie for each YValueDescr is made.

XValue                            YValue            YValueDescr
1/1/2009                        20                    serie1                                        //time frame 1 starts
1/1/2009                        15                    serie2
2/1/2009                        25                    serie1
2/1/2009                        10                    serie2        
1/2/2009                        40                    serie3                                        //time frame 2 starts
1/2/2009                        30                    serie4
2/2/2009                        45                    serie3
2/2/2009                        35                    serie4

What i want is a chart as follows

serie2        serie2        serie4        serie4
serie1        serie1        serie3        serie3

If I don't make new series for the second time frame and use serie1 and serie2, they are displayed correctly, but it doesn't show clearly where the new timeframe begins (all the same color).
If I make new series, the XValues and range are displayed correctly, but serie 3 and 4 are displayed stacked above 1 and 2 and the second half of the range of the Xaxis is empty.
I can do this trough the smart tag, but i have to do this manually.

Who can help me out here?

 

Jurgen
Top achievements
Rank 1
 answered on 10 Mar 2009
1 answer
159 views
Since there is not RadListbox, I have started to use RadGrid in its place.

I have a need to programmatically access the value of a particular grid item. All of the client-settings are enabled to allow for a selectedindexchanged event. There is a series of 5 grids that are programmatically built based on the selection in the previous grid.

The first grid is bound to a simple List<string>.

 

// Grid Code

 

rgDailyBuilds.DataSource = oDailyBuildFolder.DailyBuilds.ToList<

string>();

 

rgDailyBuilds.DataBind();

On the selected index change, I need to access the value of the grid item that was selected. Currently, I only allow for single select but in the future I will allow multiple select. That said, I started to approach it like this:

 

// Grid Code

 

 

 

GridItemCollection oGic = rgDailyBuilds.SelectedItems;

 

 

string sValue = string.Empty;

 

 

foreach (GridDataItem o in oGic)

 

    sValue =

Convert.ToString(o.GetDataKeyValue("Item"));

But didn't get far. How can I access the values? Also, what if the grid contained more than one column. How would I retrieve the value from a single column of a row?

Thanks,

Jim

 

Daniel
Telerik team
 answered on 10 Mar 2009
1 answer
88 views
Hi,

Please have a look on the following sample report data I am tring to display -

Supplier  OrderNo GrossCost  Inv.No  Inv.Cost  Difference
Dell         301         500 S12      250
S13      250 0
HP          302          800 S21     200
S22     400 200

We have two suppliers and each having two Inv.No but it can be more than two. Difference column =   Gross Cost  - total Inv.Cost for an order number.
Could you please suggest me if this is possible to implement? If so, hints please.


Thanks a lot.

Milan G 


Yavor
Telerik team
 answered on 10 Mar 2009
1 answer
154 views
Hi All,

I am facing an issue with changing font in Radgrid command item.

I want to change font size of Button 'Add New record' in Radgrid.
I tried with the options like setting properties from radgrid,Mastertableview,both radgrid and Mastertableview.
I am able to change then backcolor,font name but font size is not baing changed at all.

Can anyone help me in this please?

Thanx in advance.

Best Regards,
Hrushikesh.
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2009
3 answers
235 views
Hi,

I have a form with several RadUpload controls. Also I have several buttons on the form. Some of the buttons are added to RadAjaxManager to get the ajax behaviour.

When I click on one of those button (included in RadAjaxManager), RadProgressManager continously requets data and gets "var rawProgressData = {InProgress:false,ProgressCounters:false};" message from server. But when I click on a file upload button (not included in RadAjaxManager), this behaviour is not appearing.

I have used Fiddler to identify this behaviour. Due to this, CPU is utilized and memory grows slowly with time.

I have checked all known solutions to me. But, it's simply not solved.

Do you have any idea about this?
Genady Sergeev
Telerik team
 answered on 10 Mar 2009
5 answers
326 views
Hello,
I am looking for a confirm window(Yes/No) on click of delete button in edit form for a grid.How to get this?
Thanks in advance,
-Mahesh.
Shinu
Top achievements
Rank 2
 answered on 10 Mar 2009
6 answers
122 views
This is probably a pretty straight-forward question. I'll keep it simple so it's (hopefully) quick to resolve.

I am using RadToolTipManager to output tooltips for RadSchedule appointments.

I have got RadToolTipManager1_AjaxUpdate to output a picture, so I've been able to do that much, however, I can't seem to grab the tooltip of the appointment.

This: e.TargetControlID.ToString();
Will output, for instance, this: ctl00_ContentPlaceHolder1_RadScheduler1_9_0

But, I want to be able to grab the control's tooltip.

I'm still having a little difficulty getting my head around the complexities of ASP.NET and Telerik controls. Any help with this syntax would be appreciated.

Thanks in advance for assistance. :)

 

Svetlina Anati
Telerik team
 answered on 10 Mar 2009
1 answer
212 views
Hi,
This is Kunal from Bangalore.
I wanted to add a progress bar inside a rad window.
Any related posts are welcomed.

Thanks in advance,
Kunal
Sebastian
Telerik team
 answered on 10 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?