Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Hai,

I have a radtabstrip with 4 tabs. Each tab contains one grid. I have to export the data on these 4 grids to different formats like pdf, excel etc. on clicking a "Print Report" button on the page. Is there any way to this? Its very urgent. Plz help.

Thanks,

Regeesh
Andrey
Telerik team
 answered on 28 Dec 2011
1 answer
285 views
Hi Everyone,

I am looking for below two customization on RadGrid. Has anyone achieved these with ASP.Net RadGrid?
I am looking for IE 7 + solutions only.

1. Slanted headers- Looking to implement slanted headers for some columns since the width of data is less and header text will be more. Slanted headers will reduce the overall width of grid. I am able to implement vertical columns using CSS but not able to create slanted headers.

2. Can I split one record across 2 rows ? One of the fields(say description) is too lengthy. Adding it on one row increases the height of grid. Instead if I display this as another row, the width of grid will be used up. So I am looking to bring one column as a separate row below the rest of fields. Both the rows will together represent one record.

Attached is a image which shows the desired grid format.

Thanks,
Abhi
Tsvetina
Telerik team
 answered on 28 Dec 2011
5 answers
381 views
Dear Telerik,

I use the RadScheduler with the web service data binding model. Day view only.

When I switch between the days it does not make postback of the page to the server (which is great!).

But later I still need to make a post back and get the current selected date from the code behind of the page.

I see that the value of  myScheduler.SelectedDate remains the same as it used to be after the page has been first loaded and does not reflect the fact that I was moving the scheduler to another day...

How can I get the correct date though?

Thank you in advance!

- Stepan.

Peter
Telerik team
 answered on 28 Dec 2011
1 answer
217 views
I would like to both display and allow full navigation and use of my external website inside of a RadWindow or a RadDock.  Is this possible?  It allows a user to browse a collection of websites and select and view them in a more useful way.
Svetlina Anati
Telerik team
 answered on 28 Dec 2011
1 answer
182 views
Hello,

I am using hierarchical grid with load mode set to ServerOnDemand. I would like to know if it is possible to modify the onclick javascript function for the Expand button while grid is binding.

For example, I would like to pass argument in the function call below:

onclick="javascript:__doPostBack('18_userControl$RadGridDiscounts$ctl00$ctl04$GECBtnExpandColumn','')"

Or if I can set the argument in the ajax request.

Regards,
Mustapha
Andrey
Telerik team
 answered on 28 Dec 2011
2 answers
124 views
I have a radwindow.I wanna hide the name of the pagewhich is at the bottom of the radwindow.How can I do this?

Emre
Top achievements
Rank 1
 answered on 28 Dec 2011
3 answers
290 views

Hello Telerik,
I have a problem when dealing with RadComboBox.
if the comboBox is disabled, and I want to select an item it doesn't work

the following not working:

ComboBoxTitle.disable();
ComboBoxTitle.findItemByValue("2").select();

the problem is the combo may be disable or not before selecting item so I make the following workaround

if (!ComboBoxTitle.get_enabled()) {
    ComboBoxTitle.enable();
    ComboBoxTitle.findItemByValue(ContactData.TitleId).select();
    ComboBoxTitle.disable();
}
else {
    ComboBoxTitle.findItemByValue(ContactData.TitleId).select();
}
but I am asking if there are a better solution

thanks,
Taraman
Kalina
Telerik team
 answered on 28 Dec 2011
5 answers
153 views

Hi Team

I've desing in my web application as....

 <tr>
                                                                    <td>
                                                                        <asp:Panel runat="server" ID="uxJumpPanel">
                                                                            <telerik:RadListView ID="feeldChoices" runat="server">
                                                                                <ItemTemplate>
                                                                                    <table cellpadding="0" cellspacing="0">
                                                                                        <tr>
                                                                                            <td>
                                                                                                <telerik:RadTextBox runat="server" Text='<%# Eval("Text") %>' onkeyup="SyncListToCheckbox(this)"
                                                                                                    ID="uxItemText" Width="260">
                                                                                                </telerik:RadTextBox>
                                                                                                  <telerik:RadComboBox runat="server" ID="uxSelectPage1"  ></telerik:RadComboBox>
                                                                                            </td>
 
                                                                                            <td>
                                                                                                <img id="imageAdd" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,add|' + this.id + ',' + selectedDockId); SetUnsaved();"
                                                                                                    alt="Add field choice" border="0" src="Images/Add.png" />
                                                                                            </td>
                                                                                            <td>
                                                                                                <img id="imageDelete" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,remove|' + this.id + ',' + selectedDockId); SetUnsaved();"
                                                                                                    alt="Delete field choice" border="0" src="Images/Delete.png" />
                                                                                            </td>
                                                                                        </tr>
                                                                                    </table>
                                                                                </ItemTemplate>
                                                                            </telerik:RadListView>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>

actually am not able to bind the data to  "uxSelectPage1" radcombobox. It always shows empty. 

Where am doing wrong?

Princy
Top achievements
Rank 2
 answered on 28 Dec 2011
20 answers
533 views
On October 11, 2011, Microsoft released a Cumulative Security Update for Internet Explorer (KB2586448) through Windows Update, which broke RadComboBox when MarkFirstMatch and AllowCustomText were set to true in:
  • Telerik.Web.UI v <= 2009.3.1314 and RadComboBox Classic;
  • All versions of IE from 6 to 9;
and in the following case:
  • Telerik.Web.UI - some versions;
  • IE9 Compatibility View;
  • Installed Google Toolbar with 'Auto Fill' enabled;

As an emergency measure we wrote a small patch that fixed the problem. The patch does not address anything else except the problem the update introduced and will not be extended beyond that.

The problem originates in the ASP.NET AJAX framework, which fires an event one extra time unexpectedly. Perhaps there is something wrong at the DOM level but we have not invested time in investigating the root cause of this yet. If the patch is stable we will not do so in the future as well.

Below is the code you could put on your pages that are affected if you are using RadComboBox for ASP.NET AJAX:
<script type="text/javascript">
    var prototype = Telerik.Web.UI.RadComboBox.prototype;
    var set_text = prototype.set_text;
    var propertyChange = prototype._onInputPropertyChange;
 
    prototype.set_text = function (value) {
        this._skipEvent = 0;
        set_text.call(this, value);
    };
 
    prototype._onInputPropertyChange = function () {
        if (!event.propertyName)
            event = event.rawEvent;
        if (event.propertyName == "value") {
            this._skipEvent++;
            if (this._skipEvent == 2)
                return;
            propertyChange.call(this);
        }
    };
</script>
Note: Put the code *after* the ScriptManager on the page or *right before* the </body> closing tag.

The same patch for RadComboBox Classic is:
<script type="text/javascript">
    var prototype = RadComboBox.prototype;
    var set_text = prototype.SetText;
    var propertyChange = prototype.OnInputPropertyChange;
 
    prototype.SetText = function (value) {
        this._skipEvent = 0;
        set_text.call(this, value);
    };
 
    prototype.OnInputPropertyChange = function () {
        if (!event.propertyName)
            event = event.rawEvent;
        if (event.propertyName == "value") {
            this._skipEvent++;
            if (this._skipEvent == 2)
                return;
            propertyChange.call(this);
        }
    };
</script>
Note: Put the code *after* the first RadComboBox on the page or *right before* the </body> closing tag.

Additional Note: The same problem exists with the latest version of Telerik.Web.UI in IE9 Compatibility View Mode only if the Google Toolbar add-on is installed. The above patch only alleviates the problem - it does not fix it completely. We will be investigating this in the future and will update this post if there is progress. In the meantime, you could avoid the problem by disabling the add-on's 'Auto Fill' feature.

Please share your experience with the patch in this forum thread instead of starting new ones.

UPDATE: In response to user comments we added a patch for RadComboBox Classic and info about the proper location of both scripts.
Ivana
Telerik team
 answered on 28 Dec 2011
1 answer
161 views
Hi,

Can anyone send some sample proj which uses SOLR search and binds data using radgrid.

Will be of gr8 help

Thanks
Veli
Telerik team
 answered on 28 Dec 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?