Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
I have a RadGrid with widths set for all of the headers except one.  The TableLayout is set to auto.  When there is enough room, the column without a width fills the remaining space, as intended.  If there is not enough room, the column disappears, but the rows are still sized as if the column was there and the content was wrapping.  I would prefer to show the auto-sizing column in all cases and have some kind of minimum size for it.  If that is not possible, I would at least like the column to completely disappear and not reserve vertical space for its content.  Is either of these things possible?

I have attached images showing this behavior.  In "column shown", you can see the Viol Description column, which auto-sizes.  In "column hidden", I have resized the window and you can no longer see the Viol Description column, but the grid rows are much taller and there is no content in view that requires that height.
Kostadin
Telerik team
 answered on 02 Apr 2013
2 answers
1.4K+ views
Hello,

I'm  binding this data (a phone number):

5555015555

to a radgrid column.  I need it to appear as:

(555) 501-5555

But I tried using a format string and it didn't work.  Is the only way to format it through code?

Thanks.
J2K
Top achievements
Rank 1
 answered on 02 Apr 2013
2 answers
185 views
Hi,

No RadioButton control in RadControls Suite? I cant find a RadioButton property in ButtonType.

Thanks you,
Antony.
Danail Vasilev
Telerik team
 answered on 02 Apr 2013
1 answer
164 views
Is there a way to get the WindowBehaviors enums defined without a RadWindowManager declaration?    From script on a page, I call a function in an iframe and want to pass in the behavior as a parameter.  The calling page has no need to declare the RadWindowManager, except to get the definition of the enums, i.e. Telerik.Web.UI.WindowBehaviors.Move.   I can set up my own enums within the calling page, but would prefer to use the Telerik defs.  
Marin Bratanov
Telerik team
 answered on 02 Apr 2013
3 answers
101 views
Hi there. I'm trying to replace the OOB sharepoint calendar with the RadScheduler and bind it to an Events SharePoint list. I am able to add the RadScheduler to the page programatically as shown below. However, I am unable to set the skin or get it functional on the page. What are the DataRecurrenceField and DataRecurrenceParentKeyField? It throws an error if I set them with the values below - are they crucial?

RadScheduler RadScheduler1 = new RadScheduler();
DataTable lrTable = oList.Items.GetDataTable();
DataView dv = new DataView(lrTable);
RadScheduler1.DataSource = dv;
RadScheduler1.DataSubjectField = "Title";
RadScheduler1.DataStartField = "EventDate";
RadScheduler1.DataEndField = "EndDate";
RadScheduler1.DataKeyField = "ID";
//RadScheduler1.Skin = "Windows7";
//RadScheduler1.DataRecurrenceField = "RecurrenceRule";
//RadScheduler1.DataRecurrenceParentKeyField = "RecurrenceParentID";
RadScheduler1.DataBind();

pnlCalendarView.Controls.Add(RadScheduler1);
}

 

Boyan Dimitrov
Telerik team
 answered on 02 Apr 2013
13 answers
246 views
HI there
can i use Rad scheduler to add,edit,delete and display item from sharepoint 2010 calendar list.
also can i user any custom fields beside description,subject,room,user ?
please advise
Boyan Dimitrov
Telerik team
 answered on 02 Apr 2013
2 answers
71 views
I just upgraded my project from 2012 Q3 to 2013 Q1 (2013.1.220.40) - and suddenly all the postbacks w/ my radbuttons aren't working.  They aren't calling the server-side functoins at all - w/ ajax manager enabled and disabled.  Any known issues w/ this at all?

Eyup
Telerik team
 answered on 02 Apr 2013
1 answer
330 views
I added a custom aggregate to a column that has an item template because it has a nifty rad tooltip to go with it.  Anyway when I return the custom aggregate from the event, the grid adds the string "Custom : " to the footer cell, and I am wondering why?  Also is there any other way to get rid of that other than what I had to do which was handle the footer cell in the ItemDataBound event as below?

Thanks,
Kevin
<telerik:GridTemplateColumn AllowFiltering="false" UniqueName="OtherPay" HeaderText="Other<br />Pay">
    <ItemTemplate>
        <asp:Label runat="server" ID="lblOtherPay">0</asp:Label>
        <telerik:RadToolTip runat="server" ID="ttPPED" TargetControlID="lblOtherPay" Position="BottomRight"
            Title="Other Pay" AutoCloseDelay="3000" Sticky="true" RelativeTo="Element"
            EnableShadow="false" EnableEmbeddedSkins="false" Skin="KMBlack">
        </telerik:RadToolTip>
    </ItemTemplate>
    <HeaderStyle Width="8%" HorizontalAlign="Right" />
    <ItemStyle HorizontalAlign="Right" />
    <FooterStyle HorizontalAlign="Right" />
</telerik:GridTemplateColumn>


protected void grid_CustomAggregate(object sender, GridCustomAggregateEventArgs e) {
    switch(e.Column.UniqueName) {
        //  For some reason adds the string "Custom : " to the footer cell...
        case "OtherPay":
            e.Result = string.Format("{0:#,##0}", _otherPayTotal);
            break;
    }
}
 
protected void gridPayPlanEntries_ItemDataBound(object sender, GridItemEventArgs e) {
    GridFooterItem footerItem = e.Item as GridFooterItem;
 
    //  Very strange Telerik issue here.  You may ask yourself, why didn't
    //  we do this as a custom aggregate on the GridTemplateColumn for other
    //  pay?  Well for some reason Telerik was adding the text "Custom : "
    //  to the cell in the footer with no apparent way to get rid of it.
    //  Doing it here is kind of a pain, but it works.
    if(footerItem != null) {
        footerItem["OtherPay"].Text = string.Format("{0:#,##0}", _otherPayTotal);
        return;
    }
}
Eyup
Telerik team
 answered on 02 Apr 2013
4 answers
109 views
I am using Telerik.Web.UI 2010.3.1325.40 version, and the autoComplete feature (from the demo) of RadComboBox doesn't work in IE9, it works in Firefox though. Is this bug fixed or i have to upgrade to the newer version? Any workaround?
Statue26
Top achievements
Rank 1
 answered on 02 Apr 2013
1 answer
87 views
Does anyone know of any issues between the TabStrip and Safari Browser? For some reason I can't get the tabstrip to function at all when viewed with Safari. Even though the html returned with the page shows a good href value there is no event fireing at all when I click on a tab.

I am using the tabstrip to navigate to other pages without using the multi page.

Any suggestions?

Thanks,

Jaime
Nencho
Telerik team
 answered on 02 Apr 2013
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?