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

I have a radeditor that I'm loading dynamically during a postback.  It is inside a panelbaritem which is initially hidden.  I've attached an image showing how it is being rendered initially.  Has anyone came across this and know a remedy?

I have radeditors displaying which are not rendered dynamically, and they are all fine.  There are also radeditors loaded dynamically and initially shown in the panelbar - they are also fine.

I've attached an image which highlights the problem.

Many thanks,
Michael
Rumen
Telerik team
 answered on 02 May 2012
1 answer
55 views
Hi Guys,

Please try to add the following html code in ASP.NET Ajax  Editor:
<table>
    <tbody> 
        <tr>
            <th>Column one </th>
            <th>Column two </th>
        </tr>
        <tr>
            <td>Test</td>
            <td>Test</td>
        </tr>
    </tbody>
</table>
After that try to change the table using RightMouseClick -> Table Properties (you can change any property of the table).
Click OK and switch to HTML mode. You can see that all <th> tags are replaced with the <td> ones.
Also the <th> tag in the first row isn't added after adding an extra column to the table.
Is this a bug or is it an expected behavior?
Is there an easy workaround for the issue?

Thank you in advance.
Best Regards,
Yuriy
Rumen
Telerik team
 answered on 02 May 2012
10 answers
249 views
I'm trying to create a calendar that isn't clickable but displays special days to my users.  It will need to cover multiple years.  With the code below it shows my april special day but doesn't show the may one.  Also how can I have the cells have equal sizes?  Also where are these classes located that are added as part of the control?

<telerik:RadCalendar ID="RadCalendar1" runat="server"
      ShowOtherMonthsDays="False" Skin="Outlook" CellAlign="NotSet"
      CellVAlign="NotSet" EnableMultiSelect="False" ShowRowHeaders="False"
      TitleAlign="Center" UseColumnHeadersAsSelectors="False"
      UseRowHeadersAsSelectors="False" DayNameFormat="Short"
      EnableMonthYearFastNavigation="False">
<DayOverStyle CssClass="rcHover"></DayOverStyle>
 
<FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Outlook"></FastNavigationStyle>
 
<DisabledDayStyle CssClass="rcDisabled"></DisabledDayStyle>
 
<WeekendDayStyle CssClass="rcWeekend"></WeekendDayStyle>
 
<ViewSelectorStyle CssClass="rcViewSel"></ViewSelectorStyle>
 
<SelectedDayStyle CssClass="rcSelected"></SelectedDayStyle>
 
<CalendarTableStyle CssClass="rcMainTable" BackColor="#DDEEFF" Height="400px"
        HorizontalAlign="Left" Width="600px"></CalendarTableStyle>
 
<OtherMonthDayStyle CssClass="rcOtherMonth"></OtherMonthDayStyle>
 
<OutOfRangeDayStyle CssClass="rcOutOfRange"></OutOfRangeDayStyle>
 
<SpecialDays>
  <telerik:RadCalendarDay Date="2012/04/21" TemplateID="DateTemplate" />
  <telerik:RadCalendarDay Date="2012/05/22" TemplateID="DateTemplate2" />
</SpecialDays>
<CalendarDayTemplates>
  <telerik:DayTemplate ID="DateTemplate" runat="server">
    <Content>
      <div class="rcTemplate rcDayDate">
        Collection
      </div>
    </Content>
  </telerik:DayTemplate>
 
  <telerik:DayTemplate ID="DateTemplate2" runat="server">
    <Content>
      <div class="rcTemplate rcDayDate">
        Collection 2
      </div>
    </Content>
  </telerik:DayTemplate>
</CalendarDayTemplates>
    </telerik:RadCalendar>

Thank you
Andrey
Telerik team
 answered on 02 May 2012
1 answer
65 views
Hi Team,

My requirement is to take the REASON while cancelling the appointment.I have used the Advance Form for Editing & Inserting,now I want to use the same template for cancelling the appointment as well.
I have tried to use the RadDock,but by having it in the Scheduler form my other functioality (Advance Form,Rad Tool Tip) doesnot work.
Plz help me to complete this ASAP.

Regards

 
Plamen
Telerik team
 answered on 02 May 2012
5 answers
198 views
I just udated to the latest version of 3.5 grid and now my column filter for the gridnumericcolumn isn't working:

<telerik:GridNumericColumn FilterControlWidth="75px" DataField="Hectare" HeaderText="Hectares" NumericType="Number" DataType="System.Decimal" DecimalDigits="1" AllowRounding="true" DataFormatString="{0:N1}"><ItemStyle HorizontalAlign="Right" />
				</telerik:GridNumericColumn>


this hides the icon and doesn't work, worked fine before with the previous version.  Is this a bug or did something change?  If I remove the width, the icon shows up and works just fine.
Andrey
Telerik team
 answered on 02 May 2012
0 answers
52 views
Hi,

I have a Radgrid which is used to display some values on the UI. Some fields are simple dropdowns while others are text box.
The issue here is We have used a coding where in if no data is entered then textbox should be default filled with zero.This was because other wise it would have thrown exception "input string not in correct format".

Now with some enhancements there is a need that if I enter nothing in the text box, then the value should be filled with null.
I know this is possible in framework 3.5 but application is bulit on dot Net 2.0 where in concept of "nullabel " wont work.

Have a look at the present coding that fills zero.
decimal rccAggInto2UomMult = 0;
        if (((TextBox)row.Cells[27].Controls[1]).Text != "")
            rccAggInto2UomMult = Convert.ToDecimal(((TextBox)row.Cells[27].Controls[1]).Text);

Any alternate way out ?
Thanks,
Tarang
Tarang
Top achievements
Rank 1
 asked on 02 May 2012
0 answers
64 views
Hi,

I have a Radgrid which is used to display some values on the UI. Some fields are simple dropdowns while others are text box.
The issue here is We have used a coding where in if no data is entered then textbox should be default filled with zero.This was because other wise it would have thrown exception "input string not in correct format".

Now with some enhancements there is a need that if I enter nothing in the text box, then the value should be filled with null.
I know this is possible in framework 3.5 but application is bulit on dot Net 2.0 where in concept of "nullabel " wont work.

Have a look at the present coding that fills zero.
decimal rccAggInto2UomMult = 0;
        if (((TextBox)row.Cells[27].Controls[1]).Text != "")
            rccAggInto2UomMult = Convert.ToDecimal(((TextBox)row.Cells[27].Controls[1]).Text);

Any alternate way out ?
Thanks,
Tarang
Tarang
Top achievements
Rank 1
 asked on 02 May 2012
1 answer
82 views
I have a chart which I am trying to get to fit in a specific width on a page, oriented horizontally. Everything is fine except for the Y axis, which has a scale of 1000. The numbers on the Y axis are running together. I think this would be fixed if I were able to set the scale to 2000 instead of 1000, but when I try to do so at runtime, the scale is set to 1000. Here is my code: 
RadChart1.Height = dt.Rows.Count * 50;
           RadChart1.DataSource = dt;
           RadChart1.PlotArea.XAxis.DataLabelsColumn = "Team";
            
           RadChart1.AutoLayout = true;
           RadChart1.PlotArea.YAxis.Step = 2000;
           RadChart1.SeriesOrientation = Telerik.Charting.ChartSeriesOrientation.Horizontal;
           //RadChart1.AutoTextWrap = true;
           RadChart1.ChartTitle.TextBlock.Text = "Team Totals";
           RadChart1.Legend.Visible = false;
           RadChart1.DataBind();
Evgenia
Telerik team
 answered on 02 May 2012
3 answers
126 views
Hi, I'm using RadWindowManger in a DNN module and calling it up from the server side. However, when it pops up it stays at the center of the screen for a moment, but then pops up centered as if the scroll bar was all the way up. This is more noticeable when the module is further down the page. To the user it will pop up for a moment then move outside of the scroll area if it's scrolled down far enough. Here's the server side code and .ascx code. The .ascx code is located at the very bottom of my .ascx if that matters.

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" KeepInScreenBounds="True"></telerik:RadWindowManager>
<script type="text/javascript">function alertCallBackFn(arg) { }</script>

RadWindowManager1.RadAlert("An error has occured!", 330, 100, "Error", "alertCallBackFn")
Marin Bratanov
Telerik team
 answered on 02 May 2012
9 answers
819 views
I'm having trouble rebinding over javascript, and I think its partly cause i'm confused with master pages and their interactions with the ajaxmanager.

RadGrid1 is the id of my RadGrid
RadAjaxMasterManager1 is the id of my RadAjaxManager in the master page
RadAjaxManager1 is the id of my RadAjaxManagerProxy

I'm getting a javascript error of ajaxMgr is null

here is the javascript code that gets called:
    function ReloadGrid() 
    { 
        var ajaxMgr = $find("<%=RadAjaxManager1.ClientID %>");   
        ajaxMgr.ajaxRequest("RefreshGrid");   
    } 

<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server"
    <AjaxSettings>  
        <telerik:AjaxSetting  AjaxControlID="RadAjaxManager1"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting>    
    </AjaxSettings> 
</telerik:RadAjaxManagerProxy> 


My master pages RadAjaxManager is this:
telerik:radajaxmanager ID="RadAjaxMasterManager1" runat="server"
            </telerik:radajaxmanager> 


Any hints would be greatly appreciated.

John
Gabriel
Top achievements
Rank 1
 answered on 02 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?