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

I've set up a hosting account with a provider and FTP'd all my folders up and the site is up and running however the radmenu,radcombo boxes etc arent working. What I mean by this is the radmenu isn't expanding and the drop downs arent dropping down.

I've made sure the Telerik dll is in the bin folder but its not working.

Can anyone point out anything I might need to add to the deployment or change on the hosting account?

Thanks,

Phil
Paul
Telerik team
 answered on 19 Oct 2009
3 answers
82 views
The RadUpload control does not show when using 1014 hot fix, had to revert to earlier version to get it working again.
Paul
Telerik team
 answered on 19 Oct 2009
2 answers
283 views
Migrating from .Net1.1 to .Net2.0 using Radgrid Q3 2008
I got 50 columns and all of which has its defined width.
showing and hiding of columns are dynamic.

with the previous version if I set the radgrid to width to 100% it will occupy entire page no matter what the resolution is, the grid will have its horizontal scrollbar to show 50 or less columns based on data with no problem..

Now if I set the Radgrid width to 100% with 2.0 Radgrid Q3 2008, radgrid will not have the horizontal scrollbar but instead the whole page will have it.. Grrrrrrrrr
I also put this to a panel, div etc but to no avail.. I cant control the width of the grid.. Using pixel width works but I dont want to use it for I want to get most of the space based on clients resolution. like for instance if I set the width to 1024px and if its viewed with higher resolution, it will have this huge empty space which doesnt look good. I wanted to maximize the space as much as possible.. 

Any inputs for this..

thanks in advance..


Some radgrid codes

<

 

rad:radgrid id="RadGrid" runat="server" RadControlsDir="~/RadControls/"

 

 

Height="200px" AllowMultiRowSelection="True" ForeColor="White" AllowMultiRowEdit="True" Skin="Classic"

 

 

ItemStyle-BackColor="WhiteSmoke" AlternatingItemStyle-BackColor="White" BorderStyle="None" GridLines="Both" SkinsPath="~/RadControls/Grid/Skins">

 

 

<AlternatingItemStyle Font-Size="Small" Font-Names="Arial Narrow" HorizontalAlign="Left" VerticalAlign="Middle" BorderStyle="None" CssClass="AlternatingItemRow" BackColor="White"></AlternatingItemStyle>

.....
.....

 

<

 

ClientSettings>

 

 

 

 

 

<Selecting AllowRowSelect="True" EnableDragToSelectRows="False"></Selecting>

 

 

 

 

 

<Resizing ResizeGridOnColumnResize="True" AllowColumnResize="True"></Resizing>

 

 

 

 

 

<ClientEvents OnRowDeselected="RowDeselected" OnRowSelected="RowSelected" OnRowCreated="RowCreated"></ClientEvents>

 

 

 

 

 

<Scrolling ScrollHeight="202px" AllowScroll="True" UseStaticHeaders="True"></Scrolling>

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

</rad:radgrid>

 

Pavlina
Telerik team
 answered on 19 Oct 2009
2 answers
354 views
Hello Telerik team,

I am having a RadEditor, in which i am trying to create an html template. I have fixed the width of the template. We have got Image Manager to insert image in our template.

So, when we use image manager to upload an image from my system, If image width is more than the html template width, I want the image width & height should be adjusted in proportion with the width of the template . Also a border with border-width =3 & border color= red is to be set. Also the allignment of the image should be center allign.

I want these as the default settings for most of the images i want to have in my template.

I dont want to use the properties window of Image manager to set these properties, as i want the above specifications with every image i want to insert.

 Please help me out with the possible solution for my problem. 

I have looked for the properties of image manager but found nothing helpful.

Kindly help me out with the issue.

Thanks,
Chinmay Sharma.
Nick Smith
Top achievements
Rank 1
 answered on 19 Oct 2009
1 answer
177 views
Hi,

I have 2 RadAjaxPanels. One has a button on it and the second has a RadGrid.
Both have enableAJAX set to true and the panel with RadGrid has the LoadingPanelID set.

Using the OnAjaxSettingCreating event of the RadGrid panel i add a AsyncPostbackTrigger to the e.UpdatePanel.Triggers collection.
The ControlID of the AsyncPostbackTrigger is set to the button of the first panel.

When i click the button (RadGrid.Rebind() is callled) both panels get updated now and this is what i needed.
However when the button is clicked the LoadPanel doesn't appear. Only when a Control of the radGrid panel triggers a call it get's triggered.

Is there something else i need to set to have the LoadingPanel appear when an update is coming from a control not on the RadAjaxPanel?
Pavlina
Telerik team
 answered on 19 Oct 2009
1 answer
160 views
Hi All,

I have a grid with some record.

EditMode="PopUp"

While Edit image is clicked the PopUp for Edit appeas.

Is there any option to change the the font-size and the alignment of the Title Bar

Thanking You

-Anto
Princy
Top achievements
Rank 2
 answered on 19 Oct 2009
2 answers
93 views
Hi All

I have a grid with some records,

EditMode="PopUp"


protected void RadGridEmpType_ItemCommand(object source, GridCommandEventArgs e)  
        {  
            if (e.CommandName == "Edit")  
            {  
                RadGridEmpType.MasterTableView.EditFormSettings.CaptionDataField = "TypeShortDesc";  
                RadGridEmpType.MasterTableView.EditFormSettings.CaptionFormatString = "Edit Employee Type : {0}";  
            }  
            else if (e.CommandName == "InitInsert")  
            {  
                RadGridEmpType.MasterTableView.EditFormSettings.CaptionDataField = "";  
                RadGridEmpType.MasterTableView.EditFormSettings.CaptionFormatString = "Add New Employee Type";                    
            }  
        } 

 

When I click the Add New Record button.

In the Title Bar "Add New Employee Type" is displayed.

Under the title bar again "Add New Employee Type" is displayed.

This appears even for EDIT.

Is there any option to display it only in the title bar

Thanking You

-Anto

Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 19 Oct 2009
1 answer
146 views
I'd like to be able to redefine the User ID for the radscheduler tables as a GUID, rather than an int. I'm working on a research project, which if it goes commercial, will have enough anticipated users that a simple int could begin to be too small. Plus, I'd like to be able to generate user id's from my code, rather than have a potential SQL bottleneck.

Is it possible to use a GUID rather than an int and still use the standard Telerik provider?  Or will I have to write my own provider?
Peter
Telerik team
 answered on 19 Oct 2009
1 answer
120 views
i notice that when an ajax request is completed -- be it from the ajaxmanage itself or the get_eventArgument() method -- the ajaxified controls render at their original positions and their parent html elements outside do not rerender to compensate for the ajaxified controls' new positions and/or sizes.

for example, i have an ajaxified radgrid that is built dynamically in code.  it is nested within a standard, non-server html table.  since the width of the radgrid varies depending on the number of columns it has, it typically returns to the page wider than the table it is nested within, causing its right side to extend beyond the right side of the table.

i've thought about using the ajaxmanager's ClientEvents-OnResponseEnd event to invoke javascript that would somehow rerender certain elements on the page, but i wanted to hear from someone here before i spent too much time exploring that route.

thx in advance
Sebastian
Telerik team
 answered on 19 Oct 2009
1 answer
182 views
Hi,

I have a datatable that I am binding to a RadChart. The DataTable looks like this:

Applicant Type          Vacancy Title         User Count
Applicants                  1, CFO                   7
Applicants                  2, CEO                   3
Shortlisted                  1, CFO                   1
Shortlisted                  2, CEO                   1

I am binding this to the RadChart and then setting the following properties programmatically:

chrtStackedBar.DataGroupColumn = "Applicant Type";
chrtStackedBar.PlotArea.XAxis.DataLabelsColumn = "Vacancy Title";
chrtStackedBar.Legend.Appearance.GroupNameFormat = "#VALUE";   

As far as I understand it this should then put the relevant Vacancy Title along the X-Axis; Applicants and Shortlisted in the legend; and create two series based on the grouping. Instead all I get is one series with X-Axis values being 1,2,3,4,5,6,7. It inserts my data into columns 1-4 as a single series. My legend has User Count as the series.

The HTML generated for the RadChart looks like this:
<telerik:RadChart ID="chrtStackedBar" runat="server" Skin="Web20" Height="350px" 
            Width="644px" Visible="False" DefaultType="Bar"> 
            <PlotArea> 
                <EmptySeriesMessage Visible="True"> 
                    <Appearance Visible="True"> 
                    </Appearance> 
                </EmptySeriesMessage> 
                <XAxis AutoScale="False" MaxValue="7" MinValue="1" Step="1"> 
                    <Appearance Color="149, 184, 206" MajorTick-Color="149, 184, 206"> 
                        <MajorGridLines Width="0" Color="209, 221, 238"></MajorGridLines> 
                    </Appearance> 
                </XAxis> 
                <YAxis AutoScale="False" MaxValue="30" MinValue="0" Step="10"> 
                    <Appearance Color="149, 184, 206" MinorTick-Color="149, 184, 206" MajorTick-Color="149, 184, 206"> 
                        <MajorGridLines Color="209, 221, 238"></MajorGridLines> 
                        <MinorGridLines Color="209, 221, 238"></MinorGridLines> 
                    </Appearance> 
                    <Items> 
                        <cc1:ChartAxisItem> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="5"> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="10"> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="15"> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="20"> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="25"> 
                        </cc1:ChartAxisItem> 
                        <cc1:ChartAxisItem Value="30"> 
                        </cc1:ChartAxisItem> 
                    </Items> 
                </YAxis> 
                <Appearance> 
                    <FillStyle MainColor="249, 250, 251" FillType="Solid"> 
                    </FillStyle> 
                    <Border Color="149, 184, 206"></Border> 
                </Appearance> 
            </PlotArea> 
            <Appearance> 
                <Border Color="103, 136, 190"></Border> 
            </Appearance> 
            <ChartTitle> 
                <Appearance> 
                    <FillStyle MainColor=""> 
                    </FillStyle> 
                </Appearance> 
                <TextBlock> 
                    <Appearance TextProperties-Color="0, 0, 79"> 
                    </Appearance> 
                </TextBlock> 
            </ChartTitle> 
            <Legend> 
                <Appearance Position-AlignedPosition="TopRight" Dimensions-Margins="17.6%, 3%, 1px, 1px" 
                    Dimensions-Paddings="2px, 8px, 6px, 3px"> 
                    <Border Color="165, 190, 223"></Border> 
                </Appearance> 
            </Legend> 
        </telerik:RadChart> 

All I've changed is the DefaultType, removed the AutoScale from the X-Axis, and I've changed the Y-Axis values. The rest is all generated.

Can you please tell me what I'm doing wrong?
CBARS
Top achievements
Rank 2
 answered on 19 Oct 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?