Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
249 views
I'm adding a expand/collapse button for grouping in my grid.  I add this button on the ItemDataBound event and add the text (in this case it is a specialty) after the button by adding a literal control to the cell's controls collection.  On a postback the button and literal control that I added in the ItemDataBound event are not shown and only the text is displayed.

I tried adding code to the itemCreated event, but the DataItem property of the GridItem is nothing so I can't get to the specialty name in order to use it in the literal that I am adding as explained above.

How can I prevent my controls from disappearing from the grid cells?

Sean M. Severson
Iana Tsolova
Telerik team
 answered on 11 Oct 2011
1 answer
212 views
What could be causing this error?

Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxEventArgs has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.

You can see the error in Firebug  here
Brad
Top achievements
Rank 1
 answered on 11 Oct 2011
2 answers
286 views
Hi

This is the first post that I have made :)

I have tried many different options before asking and have searched high and low on the internet for a workable solution but cant find one so apologies if this has been addressed before

My radcomboboxes all function perfectly with a nice mouseover highlight to show which record is being hovered but when I make my radcombobox a multicolumn it no longer highlights

Can anyone point me in the right direction

Here is the markup for the combobox

<telerik:RadComboBox ID="RiskCriteriaRadComboBox" Runat="server" DataSourceID="RiskCriteriaDefs"
    DataTextField="RiskCriteria" DataValueField="RiskCriteria"
    DropDownWidth="400px" SelectedValue='<%# Bind("RiskCriteria") %>'
    Width="140px">
    <HeaderTemplate>
        <table text-align:left"="">
            <tr>
                <td style="width:100px;">
                    Criteria</td>
                <td style="width:300px;">
                    Definition</td>
            </tr>
        </table>
    </HeaderTemplate>
    <ItemTemplate>
        <table text-align:left"="">
            <tr>
                <td style="width:100px;">
                    <%#DataBinder.Eval(Container.DataItem, "RiskCriteria")%>
                </td>
                <td style="width:300px;">
                    <%#DataBinder.Eval(Container.DataItem, "Definition")%>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</telerik:RadComboBox>


Dwight
Top achievements
Rank 1
 answered on 11 Oct 2011
2 answers
158 views
When subject too long, combobox and button out of dialog. (refer to attachment 'reminderdialog.jpg')
Can I change reminder dialog (popup) size?
Or is there max length of subject?

Thanks
Hee
Hee
Top achievements
Rank 1
 answered on 11 Oct 2011
5 answers
295 views

Hello,

We are experiencing a problem where the EditFormSettings modal popup is not being rendered the correct height. The contents of the form is a usercontrol that renders available actions based on the grid item you have chosen to edit. What seems to be happening is that the modal popup window's height is being rendered before the user control finishes its calculation of which actions to display. We have tried calculating the actions on the Init event but that doesn't seem to work.

This is only a problem on the first load of the page after your browser history has been cleared, or if you are visiting the page for the first time.

Other things to note is that our actions and grid are separate user controls. I have attached a screenshot of what the problem looks like.

Thank you,

Tzvetan Devnaliev

Jon
Top achievements
Rank 1
 answered on 11 Oct 2011
4 answers
342 views
Guys,

I am attempting to customize the way that Special Events are shown on the Calender.

Currently I can change both the Background and Border colors using the following code: -

        private void AddSpecialDay(List<RadCalendarDay> SpecialDays, DateTime Date)
        {
            RadCalendarDay specialDay = new RadCalendarDay();
            specialDay.Date = Date;
            specialDay.ItemStyle.BackColor = Color.Red;       \\ For example - Actual values are from the DB
            specialDay.ItemStyle.BorderColor = Color.Blue;
            specialDay.ItemStyle.ForeColor = Color.Yellow;
            specialDay.ToolTip = "TEST";
            SpecialDays.Add(specialDay);
        }

However I cannot get the ForeColor changes to take effect.

Has anyone any advice on how I can get this to work?

Thanks

Andrew

 

Heinz
Top achievements
Rank 1
 answered on 10 Oct 2011
2 answers
106 views
Hi Telerik Team,

I am using a Radgrid that can perform Insert and Update records. My requirement is how do i close the "Update Mode" when some one hit "Add new Record" and vice-versa. RadGrid has the default functionality when we click on one row the other which is in update mode closes by itself but how to acheive my requirement. Please suggest a solution.

Please do reply. Its urgent..!!!

Thanku in Advance.
Nani
Top achievements
Rank 1
 answered on 10 Oct 2011
2 answers
97 views
Hi,
Do you have any sample, demo codes of Radscheduler that using WebService for data binding and AdvanceForm with Multiple Value Resource? I am having troubles with getting the multivalue resource on the AdvanceForm. The single resource is working fine. Thank you in advance.
xtreme
Top achievements
Rank 1
 answered on 10 Oct 2011
2 answers
167 views
I have a tabstrip on my page with a handful of tabs...
<rad:RadTabStrip ID="radDetailsTabs" CssClass="radDetailsTabs" runat="server" MultiPageID="radmultipage"
                    BorderWidth="0" OnClientTabSelected="" Skin="Vista" Style="padding: 0; margin: 0;">
                    <Tabs>
                        <rad:RadTab Text="Details" Selected="true" Width="95px">
                        </rad:RadTab>
                        <rad:RadTab Text="Specifications" Width="95px">
                        </rad:RadTab>
                        <rad:RadTab Text="Reviews" Width="95px">
                        </rad:RadTab>
                        <rad:RadTab Text="How To" Width="95px">
                        </rad:RadTab>
                        <rad:RadTab Text="Custom" Width="95px">
                        </rad:RadTab>
                    </Tabs>
                </rad:RadTabStrip>

Then I have some JS that runs on pageload that will remove one of the tabs if its not needed...
function pageLoad() {      
        if (document.getElementById('ctl00_ContentPlaceHolder1_hidShowHowToTab').value == "0") {
            hideTab("How To");
        }
}
function hideTab(strTabName) {
        var tabStrip = $find('ctl00_ContentPlaceHolder1_radDetailsTabs');
        var tab = tabStrip.findTabByText(strTabName);
        if (tab) {
           var parentTab = tab.get_parent();
           tabStrip.trackChanges();
           parentTab.get_tabs().remove(tab);
           tabStrip.commitChanges();
         }
    }

This worked great, until I added the new Custom tab. Now when I click on Custom tab, it shows the content of the How To tab instead. You can see from the attached that the how to tab is set to display block and the clientstate selected index is set to 3 instead of 4. the custom tab is show correctly as selected, but the content revealed is incorrect. Am I missing something?
Nik
Top achievements
Rank 1
 answered on 10 Oct 2011
9 answers
239 views
Hi there, I made a post on Adjusting Telerik RadTreeList to display visually separated items with depth level margins maybe someone will find it usefull :)

Attachment shows the main idea

P.S.: I always wanted to have that feature built it :)

Colin
Top achievements
Rank 1
 answered on 10 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?