Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
153 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
88 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
138 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
109 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
174 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
2 answers
76 views
Right out of the box I am putting a RadEditor on a page.  OnLoad is populating RadEditor.Content - like the documentation states - and this works.  But if I change the content, my changes are instantly forgotten.

I added a button to the page with an event to a function.  In the function I attempted to write the changes back to SQL and nothing happened.  After an hour or so of assuming that my DB code was bad, I threw a Response.Write(editor.Content); in my code and the content after the button click is the same as the initial content on page load; any changes that I make do not appear.

I do not see any reason why this should not be working.  Is there some sort of editor.CommitChanges() that I am not seeing in the documentation?
Rumen
Telerik team
 answered on 19 Oct 2009
2 answers
100 views
I enabled SEO paging with a custom QueryString on a Grid in an external control, and discovered that the paging links do not link to the page they are on. Instead, they link to what is effectively the site root with the correct QueryString.

If I turn off custom QueryString, it works. My control structure is rather long, however, and I'd like to have a much simpler QS.
Nikolay Rusev
Telerik team
 answered on 19 Oct 2009
1 answer
109 views
I am having my 1st go at your control and bumped into several JS errors. See attached pic.

JL
Fiko
Telerik team
 answered on 19 Oct 2009
2 answers
123 views
Hi,

 I am facing a problem with Scheduler, i created a contest menu on right clicking on Scheduler. every thing is working fine in IE but in Firefox it's not working .The contest menu is not working in Mozilla Firefox
plz help me in this matter..............
pradeep madugula
Top achievements
Rank 1
 answered on 19 Oct 2009
2 answers
95 views

i need to add a column called Select All to the dropdown which is also check box and when i select that all the items from dropdown should select and viceversa.
how to do.
Princy
Top achievements
Rank 2
 answered on 19 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?