Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
57 views
Hi,
 
 I am creating a tabstrip with EnableEmbeddedSkins set to false and i have my custom skin and stylesheet files. In my css classes for tabs i am setting the height property for my tabs. Problem is that using these properties my tab strip works fine in IE7 but setting height in IE6 create some kind of error and my tabstrip does not render properly. if i set the height at server side for each tab ( example: item.Height = Unit.pixel(24) ), than also,i get the same problem. I removed height property from my CSS classes it works fine in IE6 but it takes default hieght for tabs. But i have to set more height for the tabs, thats the requirement. Is there anyway where we can set the height for tabs and still make it to work in IE6.

Thanx in advance.
Mohammad.
Yana
Telerik team
 answered on 15 Mar 2010
1 answer
211 views
Hi Telerik,
in 2010.1.309 suddenly a line with
"RadEditor hidden textarea" appears. How to get rid of this?
Thanks und best regards,
Andreas
Andreas Kaech
Top achievements
Rank 1
 answered on 15 Mar 2010
1 answer
136 views
These two properties exist for the upload control, but I am unable to find them for the file explorer. Does the file explorer allow you to control these settings?

MaxFileInputsCount="4"
InitialFileInputsCount="2"
Lini
Telerik team
 answered on 15 Mar 2010
2 answers
148 views
Hi guys,

I have the following problem regarding the RadWindow opening, and it is related to AJAX. I have the following for the ajax settings.

 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
        
         <telerik:AjaxSetting AjaxControlID="TabStrip">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="TabStrip" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        
            <telerik:AjaxSetting AjaxControlID="grdAttachments">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdAttachments" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="cboWorkflowAction">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cboWorkflowForwardTo" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelector">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlSingleCountry" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelectors">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlSingleCountry" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="grdActions">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdActions" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
                
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelector">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMultipleCountries" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>                
            </telerik:AjaxSetting>
            
            <telerik:AjaxSetting AjaxControlID="rblTargetCodeSelectors">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlMultipleCountries" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            
        </AjaxSettings>

    </telerik:RadAjaxManager>

And I try to open the rad window through an a-href link from within a grid. Now, the problem is the following. When I comment out the lines on top for the ajax settings, then the radwindow opens. Otherwise I get a JS error: Object Expected.

Please help on this one as I could not find the specifics in other threads.

Thanks,
lektira 
Svetlina Anati
Telerik team
 answered on 15 Mar 2010
1 answer
112 views

Hi telerik,


We recentlty start using telerik products. 

I have one table TABLE_JAPVALUES  :

DATE      RDVAL  PDVAL DPVAL  CTVAL ATVAL
1-1-09       100       50        45         85        90
1-2-09       50         20        15         50        55
1-3-09       120       40        40         70        95
1-4-09       100       30        30         95        80

I want a report where I can select what columns I want to see in report with Avg. of that columns

So I want a  ckeckboxlist  like this that should show all the columns of the table:

RDVAL
PDVAL
DPVAL
CTVAL
ATVAL

If I Only select these columns-
RDVAL
DPVAL
ATVAL

It should show REPORT like this:

DATE      RDVAL   DPVAL   ATVAL
1-1-09       100          45        90
1-2-09        50           15        55
1-3-09       120          40        95
1-4-09       100          30        80
AVG           92.5       32.5      80

 If I have some way to pass Select parameters to pass sql storedproc that will help.

Do you have any tutorial or sample code.

I will really appreciate your help.

Princy
Top achievements
Rank 2
 answered on 15 Mar 2010
1 answer
150 views
Is there any way to always force the upload to the root folder of the file explorer?
Lini
Telerik team
 answered on 15 Mar 2010
3 answers
209 views
Hi

* I have  a Grid on a page, and i converted a column(Category) to a template then i placed a RadComboBox in the filter section of the template.

* now when i run the page i can see the Category column populating the content and i can select from the drop down menu (filter).

-- looking at the examples and demos included on Telerik Documentation did not help me (as new converter from different programming language to asp.net). Telerik extensions is a great product and such a simple task (like filter in grid using a drop down menu) should be set with few clicks rather than going back and forth modifying this code and that code. and having this drop down column within the Grid should make it easy without the need for all this code..

* in simple way how can i move from here to make the selection work as filter (as for now i can select but doing nothing).

Thanks 

grand lorie
Top achievements
Rank 1
 answered on 15 Mar 2010
2 answers
207 views
Hi,

I have a problem with modal window, that is opened form inside of   RadAjaxPanel.

I have this RadAjaxPanel tag with Timer.

<telerik:RadAjaxPanel ID="ExistReportsGrid_Panel" runat="server" Visible="false">
                            <asp:Timer ID="ExistReportsGrid_Timer" runat="server" Interval="4000" OnTick="ExistReportsGrid_Timer_Tick"
                                Enabled="false">
Timer is enabled serverside.

On timer tick I enable one button also inside ExistReportsGrid_Panel, that opens modal windows. I open modal window this way:

<Buttons:xxx ID="BtnShowModal" Text="Show graph" runat="server"  OnClick="showModal"
                    meta:resourcekey="BtnShowModal" Visible="true" />

RadWindowManager is also insde RadAjaxPanel
<telerik:RadWindowManager ID="RadWndwManager" runat="server" Behavior="Default"
                            InitialBehavior="None" Left="" style="display: none;" Top="">
</telerik:RadWindowManager>

This is function I use for opening modal wnd
        RadWindow WinPreview = new RadWindow();
        WinPreview.Width = Unit.Pixel(840);
        WinPreview.Height = Unit.Pixel(700);
        WinPreview.NavigateUrl = "~/pages/xxxx/xxxxxx.aspx?lid=" + SelectedReport.ToString();
        WinPreview.Behaviors = WindowBehaviors.Move | WindowBehaviors.Resize | WindowBehaviors.Close | WindowBehaviors.Reload | WindowBehaviors.Maximize;
        WinPreview.VisibleOnPageLoad = true;
        WinPreview.Modal = true;
        WinPreview.Title = "";
        WinPreview.VisibleStatusbar = false;
        WinPreview.KeepInScreenBounds = true;
        WinPreview.EnableEmbeddedBaseStylesheet = true; //Wenn in Codebehind dann auf true sonst kein Style
        RadWndwManager.Windows.Add(WinPreview);


When modal window shows, I get really weird Window with something like tabs, and width is near infinity.

This code works well, and gives nice window if RadWindowManager and button are outside RadAjaxPanel

see attached screenshots of modal window



Georgi Tunev
Telerik team
 answered on 15 Mar 2010
2 answers
207 views
I have previosly used Page.Controls in projects to loop thru all server controls this:

    foreach (Control ctrl in Page.Controls)
    {
        findCtrl(ctrl);
    } 

   
public void findCtrl(Control ctrlTry)
    {
        if (ctrlTry.HasControls()) // if the control contrains other controls
        {
           
            if (ctrlTry.ID != null && ctrlTry.ID != "") // control has a ID-name
            {
                Response.Write(ctrlTry.ID + "<BR>");
            }

 

            foreach (Control lastCtrl in ctrlTry.Controls)
            {
                findCtrl(lastCtrl);
            }
        }
        else
        {
            if (ctrlTry.ID != null && ctrlTry.ID != "")
            {
                Response.Write(ctrlTry.ID + "<BR>");
            }
        }
    }

I've placed some radtextboxes in a Formview and used a table in the EditItemTemplate for design-reasons.
But then I can't use this approach.

 

<asp:FormView ID="FormView1" runat="server"
                  DataSourceID="sdsMeHaulier"
                  DataKeyNames="HaulierID"
                  DefaultMode="Edit" 
                  onitemupdated="FormView1_ItemUpdated" >       
        <EditItemTemplate>
            <table id="tblHaulier">
                <tr>
                    <td valign="top">
                        <telerik:RadTextBox ID="tbHaulierName" runat="server"
                                            Label="HaulierName"
                                            Text='<%# Bind("HaulierName") %>'
                                            Enabled="true"
                                            EnableTheming="True"
                                            ReadOnly="false" >
                        </telerik:RadTextBox>
                        <br />
                       
                        <telerik:RadTextBox ID="tbDepName" runat="server"
                                            Label="DepName"
                                            Text='<%# Bind("DepName") %>'
                                            Enabled="true"
                                            EnableTheming="True"
                                            ReadOnly="false"

and so on.
None of the radtextboxes appear in the list of controls.

Any ideas?  

 

 

 

BOS
Top achievements
Rank 1
 answered on 15 Mar 2010
3 answers
121 views
Hello,
  I have encounter a problem in using RadComboBox in Safari, the item lists' position not shown under the textbox but some where else with the scrolling, I have check another page and not found this problem, I checked the codes and have no idea why this happened.

the code snippets  like

<div id="site"> 
 <div class="devide"> 
          
        <fieldset class="column_left"> 
 
...... 
 
<div class="dl"> 
                <div class="dt"> 
                    <label for="ddlDepartment">Avdeling:</label></div> 
                <%--<asp:DropDownList ID="ddlDepartment" runat="server" CssClass="drop_wide" AppendDataBoundItems="true" > 
                    <asp:ListItem Value="0" Text="- Velg avdeling -" /> 
                </asp:DropDownList>--%> 
                <telerik:RadComboBox ID="RCBDepartment" runat="server" AppendDataBoundItems="true" > 
                <Items> 
                <telerik:RadComboBoxItem Value="0" Text="- Velg avdeling -" /> 
                </Items> 
                </telerik:RadComboBox> 
                 <span class="required">*</span> 
            </div>

...

</fieldset>
</div> 
</div> 
Simon
Telerik team
 answered on 15 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?