Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
hi all
i have problem with requestItems() method in Radcombobox .it causes postback page and captcha generates new code but not shows it  to user .i searched forum and you suggest use RadXmlHttpPanel but how can i change this code :

<script type="text/javascript">
//global variables for the countries and cities comboboxes
var countriesCombo;
var citiesCombo;
 
function pageLoad()
{
    // initialize the global variables
    // in this event all client objects
    // are already created and initialized
    countriesCombo = $find("<%= RadComboBox2.ClientID %>");   
    citiesCombo = $find("<%= RadComboBox3.ClientID %>");
}
 
function LoadCountries(sender, eventArgs)
{   
    var item = eventArgs.get_item();
    countriesCombo.set_text("Loading...");
    citiesCombo.clearSelection();
     
    // if a continent is selected
    if (item.get_index() > 0)
    {       
        // this will fire the ItemsRequested event of the
        // countries combobox passing the continentID as a parameter
        countriesCombo.requestItems(item.get_value(), false);                               
    }
    else
    {
        // the -Select a continent- item was chosen
        countriesCombo.set_text(" ");
        countriesCombo.clearItems();
         
        citiesCombo.set_text(" ");
        citiesCombo.clearItems();
    }
}
 
function LoadCities(sender, eventArgs)
{   
    var item = eventArgs.get_item();
     
    citiesCombo.set_text("Loading...");
    // this will fire the ItemsRequested event of the
    // cities combobox passing the countryID as a parameter
    citiesCombo.requestItems(item.get_value(), false);                   
}
 
function ItemsLoaded(sender, eventArgs)
{   
    if (sender.get_items().get_count() > 0) {
        // pre-select the first item
        sender.set_text(sender.get_items().getItem(0).get_text());
        sender.get_items().getItem(0).highlight();
    }
 
    sender.showDropDown();
}
        </script>

i don't want captcha changes code when items load on comboboxes?

thanks
Slav
Telerik team
 answered on 12 Apr 2012
1 answer
163 views
Previously, I had been inserting HTML into the tree nodes such as
var node = new RadTreeNode();
node.Text = "<b>This is bold text</b>";
When I upgraded to 2012 Q1, it seems that it is now HTML encoding the Text. How can I insert on the server side raw HTML without the control encoding it (similar to how it used to work)?

Thanks!
Princy
Top achievements
Rank 2
 answered on 12 Apr 2012
2 answers
415 views
how can i load data read from database to a textbox template field in gridview. Please help me to solve this as soon as possible.
Thanks..................
ithihas
Top achievements
Rank 1
 answered on 12 Apr 2012
6 answers
317 views
Hi!

Sorry about my english -.-'

I have a little issue with one radgrid into formview, i'm trying to retrieve all columns values and i can't, i tried javascript, and visual basic functions in code behind, and always have the same problem, can't find the radgrid , because it is into the formview (i think).

Can anyone suggest something? i've been stuck for too long with this =(

Thanks.
Joan
Top achievements
Rank 1
 answered on 12 Apr 2012
3 answers
132 views
Dear Support Team!

Near the Installation of the RadControls Version 2012.1.215, when setup is
installing the Visual Studio 2008 extensions, it is telling me, that it was unable
to do so and I have to repair my Visual Studio 2008 installation first.
I have done this and restarted the installation with no other outcome.

Also uninstalling all previous versions of the Telerik RadControls didn't work out.
Additionally I searched the Registry for remaining entries of old installations of
RadControls and removed them (after a backup of course).
The outcome of the installation hasn't changed a bit.
It just keeps telling me, that the VS2008 extensions cannot be installed.

The next post contains the log file for the installation.
Any idea how to fix this?
Thanks in advance!


Best regards,

Tobias
Christian
Top achievements
Rank 1
 answered on 12 Apr 2012
1 answer
162 views
We're migrating from MOSS to SharePoint 2010 and I wanted to check if the control Telerik.Web.UI, Version=2010.1.309.20 is compatible with SharePoint 2010. Could anyone please let me know?
Rumen
Telerik team
 answered on 12 Apr 2012
4 answers
209 views
Im getting sporadic NullReferenceExceptions when RadAsyncUpload requests Telerik.Web.UI.WebResource.axd.

I have getting error reports from some users of the site that they where not able to use the upload function. They get a javascript error... I have not been able to reproduce this but i am curious if this error could have anything to do with it.

Here is the trace from event log:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event 
Event ID: 1309
Date: 2012-02-28
Time: 10:25:30
User: N/A
Computer: D02AR1SWB059
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 2012-02-28 10:25:30 
Event time (UTC): 2012-02-28 09:25:30 
Event ID: 8ab94a43ea0443cb8a32b31a53089e36 
Event sequence: 709758 
Event occurrence: 50 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1075933917/ROOT-1-129748762032813225 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Apps\405000\WebSites\PublicWeb\ 
    Machine name: D02AR1SWB059 
 
Process information: 
    Process ID: 3672 
    Process name: w3wp.exe 
    Account name: NT AUTHORITY\NETWORK SERVICE 
 
Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object. 
 
Request information: 
    Request URL: http://www.mysite.com/Telerik.Web.UI.WebResource.axd?type=rau 
    Request path: /Telerik.Web.UI.WebResource.axd 
    User host address: XX.XX.XXX.XXX 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
 
Thread information: 
    Thread ID: 13 
    Thread account name: NT AUTHORITY\NETWORK SERVICE 
    Is impersonating: False 
    Stack trace:    at Telerik.Web.UI.AsyncUploadHandler.ProcessRequest(HttpContext context)
   at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context)
   at Telerik.Web.UI.HandlerRouter.ProcessHandler(HttpContext context)
   at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Im using 2011.3.1115.35.

John af P
Top achievements
Rank 2
 answered on 12 Apr 2012
1 answer
259 views
Hi,
I am using Telerik Radcontrols for asp.net Ajax version - 2009 Q3

I would like to know if there a way to save Telerik Radeditor content in db with all formatting but without html tags.

I know there are content and text property.

The text property removes all the formatting. I don't want to remove the formatting but at the same time I would like to not save html tags.

I would appreciate help with this.

Thanks,
Manisha
Rumen
Telerik team
 answered on 12 Apr 2012
6 answers
101 views
Hello,

we have been facing grid column alignment issue for long time.

while column is removed, it creates white spaces. but It got adjusted properly if I click "Ungroup" context menu.

Please refer the screen shot for further details.

Thanks
Venkat
Galin
Telerik team
 answered on 12 Apr 2012
3 answers
136 views
Hi,

Telerik Version: 2011, 3, 1115, 40
Browser Version: IE7 Standards

I have an odd issue with a pretty simple radgrid. In IE7 Standards mode, if a radgrid has cell text that exceeds the length of the cell, it hides the entire grid. If the columns are resized, it will render the grid like it should.

overflow:hidden on class="rgMasterTable rgClipCells rgClipCells" is the problem. I'm just not sure how to fix it.

Here's the grid:

<telerik:RadGrid ID="NotificationRadGrid" OnNeedDataSource="NotificationRadGrid_NeedDataSource" runat="server"
    GridLines="Horizontal">
    <ClientSettings>
        <ClientEvents OnRowSelected="ShowNotification" />                                         
    </ClientSettings>                                       
    <MasterTableView ShowHeader="true" AllowPaging="false" TableLayout="Fixed" ClientDataKeyNames="Notification_ID" ItemStyle-Wrap="False" HeaderStyle-Wrap="False">                                           
        <Columns>
            <telerik:GridBoundColumn  DataField="Notification_Number"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="10%"  HeaderStyle-HorizontalAlign="Center"
                HeaderText="Number" ItemStyle-VerticalAlign="Top"
                 SortExpression="Notification_Number" UniqueName="Notification_Number">                                                   
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Title"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="65%"
                HeaderText="Title" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Title" UniqueName="Notification_Title">                                                      
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Priority"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="10%"  HeaderStyle-HorizontalAlign="Center"
                HeaderText="Priority" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Priority" UniqueName="Notification_Priority">                                                            
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn  DataField="Notification_Published_Date"
                HeaderStyle-VerticalAlign="Bottom" HeaderStyle-Width="15%" HeaderStyle-HorizontalAlign="Center"
                HeaderText="Published" ItemStyle-VerticalAlign="Top"
                SortExpression="Notification_Published_Date" UniqueName="Notification_Published_Date" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}">      
            </telerik:GridBoundColumn>
        </Columns>                                           
        <CommandItemTemplate>
        </CommandItemTemplate>
    </MasterTableView>
</telerik:RadGrid>

Any help would be appreciated.

Smith
Jayesh Goyani
Top achievements
Rank 2
 answered on 12 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?