Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
I have built my own advanced edit form and I would like to apply the same css styles to the controls that I use elsewhere in my site.  I have edited the "SchedulerDefaultForm" - I've removed the css classes such as "textareawrapper" and added my own div tags with the names of my css styles.  However, the same markup added inside and outside of the scheduler control displays differently, which tells me there is still some default scheduler styles conflicting with my own styles, even though none of the original css class names remain in any of my code.

I have not copied over any css from the demos and I would like to tell the scheduler control to not use any of the default styling included in it.  I have played with the EnableEmbeddedBaseStylesheet, EnableEmbeddedSkins, and some other properties of the scheduler control but it has made only slight changes in the way the code is rendered and I still have the same problem.  Is there not a way to get the scheduler to display with zero styling so that I can add my own?

Thanks,
Laura

Peter
Telerik team
 answered on 16 Jun 2009
2 answers
166 views
Hi,
I am trying to access the selected value of a radiobuttonlist which is placed inside a radgrid. The problem is that the control is directly in radgrid>MasterTableView>ItemTemplate. It is not in a TemplateColumn or anything of the sort. I tried acessing it directly through the name of the radgrid "FichaConteudo" but I get the error "Object reference not set to an instance of an object." so I figure I'm not accessing the control in the correct way. Here is part of my aspx code:

<telerik:RadGrid ID="FichaConteúdo" DataSourceID="GET_DETAILS_CONTEUDO" runat="server"
                GridLines="None" MasterTableView-CommandItemStyle-BorderColor="Transparent" BorderColor="transparent" ShowHeader="False">
                <MasterTableView TableLayout="Fixed" CellSpacing="-1" DataSourceID="GET_DETAILS_CONTEUDO" >
                    <ItemTemplate>
                    <p></p>
                            <asp:RadioButtonList ID="RadioBtnListTipo" runat="server" DataSourceID="GET_TIPOS" DataTextField="Tipo" DataValueField="Tipo" />
...

Here is how I am trying to access the control:

 

RadioButtonList myRadioBtnListTipo = (RadioButtonList) FichaContedo.FindControl("RadioBtnListTipo");

Thank you for your help!
Marta

 

Marta
Top achievements
Rank 1
 answered on 16 Jun 2009
5 answers
339 views
Hi,
I need to define different WorkDayStartTime and WorkDayEndTime on different days
Example:
Sunday 10:00 - 17:00
Monday 12:00-18:00
and so on...

Can this be done?
if yes, how?
Regards,
Mickey
Peter
Telerik team
 answered on 16 Jun 2009
2 answers
71 views
We've just converted several tools over to ASP.NET AJAX Q1 2009. After an extremely long and tedious road we've got most of the tools converted. However it appears the RadAjax adds a wrapper div around ajax'd controls. The wrapper div has a id of "control prefix + panel". (ie. <div id='ctl00_DefaultContentPanel' style='display:block'>).

Of course, adding an arbitrary block-level element is going to break a UI in many circumstances. Is there a workaround, or at the very least a way to add a style class so we can control it?
Michael
Top achievements
Rank 1
 answered on 16 Jun 2009
3 answers
105 views
Hi

Instead of binding all the month records to my rad schedular.i want to bind the particular month records only.
When the first time load i will get only the current month record only from the database and show it in the rad schedular.
when the user navigate to the next or prev month.i want to get the particular month record from the database and bind it to radschedular for performance.How can i acheive it?

I want to show the rad calendar in my rad schedular header.user can navigate to what ever date they want here also i want to load on demand.

Regards
Vairam

Peter
Telerik team
 answered on 16 Jun 2009
2 answers
125 views
Hello,
I created stock exchange graphic on rad chart. It worked perfectly.
But, I had two problems.
1. I want to show on my chart, previously closed value that is single line parallel to x axis and different color. (can I add manual YAxis minor gridline ?)
2. And if possible, I want to add extra label in chart title to show stock exchange value positif or negative.  (red or green color)

Like that http://www.six-swiss-exchange.com/ or www.strateji.com.tr

Velin
Telerik team
 answered on 16 Jun 2009
6 answers
144 views
If you experience strange behaviour with Rad Docks and the minimize button appearing below the Close button in IE 7/8 and Google Chrome it could be to do with the Doc type declaration.

This can happen if you do not have the line,

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

on the page or in my case I had user controls registered before this line which was causing this behaviour. It also effected the min-width and min-height of the Raddocks. This line needs to be the first line after the page declaration.

Ronan


Trude
Top achievements
Rank 2
 answered on 16 Jun 2009
2 answers
130 views
In my pages, I (almost) always use the ajaxmanager(proxy).  A lot of time, I have some buttons doing different actions, but updating the same zone.

For these cases, I have to create X ajaxsettings zone, with the updatedcontrols associated. These updatedcontrols are the same.

Could it be possible to use a Trigger zone, where we could add some AjaxInitControl, instead of having to repeat 3 times the controls that update the same zone.

it may look like this:

<telerik:RadAjaxManagerProxy runat="server" ID="ajaxproxy1">
<AjaxSettings>
<telerik:AjaxSetting>
<TriggerControls>
<telerik:AjaxTriggerControl controlid="button1">
<telerik:AjaxTriggerControl controlid="button2">
<telerik:AjaxTriggerControl controlid="button3">
</TriggerControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>

instead of 

<telerik:RadAjaxManagerProxy runat="server" ID="ajaxproxy1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="button1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="button2">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="button3">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="panel1" />
<telerik:AjaxUpdatedControl ControlID="panel2" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>


Thank you
Bridge24
Top achievements
Rank 1
Iron
Iron
 answered on 16 Jun 2009
8 answers
163 views
I have a page that appears in a RadWindow.

The page contains a number of input controls, including RadDatePickers.

If the picker is close to the bottom of the screen the popup causes the page to 'grow' scrollbars.

I thought it would be nice to simply centre the popup but I'm struggling.

I started to use your example code for "Displaying The Popup Above The Input Area" as a basis. I tried to wire up the "OnButtonClick" client event rather than the "OnKeyPress" as in your example, but I can't seem to get it to fire.

I then, unthinkingly, tried to use the "OnPopupOpening" client event of the RadDatePicker, but - and it's obvious now - that doesn't work 'cos the same code is repeated endlessly 'cos it's called when showPopup. After that I tried setting the style of the results of the ".get_popupContainer" method to set the position, but that didn't seem to work either.

Can someone give me a hint?

TIA

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 16 Jun 2009
1 answer
188 views
Hi, I have been using the rad ajax controls and loading panels for several years now. I am well aquainted with how they work. I am currently working on a panel in which we had to use a listview due to complex layout issues (several rowspans/colspans). No matter how I try it I cannot get the update panel to show at all. Everything else is functioning exactly as expected, just no loading panel. The only other forum post I found similar to this issue, the poster gave up and used the radgrid. That unfortunately is not an option for us on this particular task.

I am hoping that someone over there can let me know if this is a limitation of the controlset or if there is some mysterious thing I am missing.

Thanks for your help,
Duane
Sebastian
Telerik team
 answered on 16 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?