Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
Hi,

In my rad grid implementation, first column is checkbox column.
We do not want to select the entire row when checkbox is selected,but i want to access all the items which are checked.
Is there any other way instead of iterating through all rows in grid.

This is because there might be 500 items in grid and only 3 might be checked, so i will end up looping 500 items for 3 items only.

Thanks.
Amit
Shinu
Top achievements
Rank 2
 answered on 17 Nov 2009
1 answer
190 views
I am using the Q1 2009 version of the ASP.NET AJAX RadControls and we have created a calendar that heavily uses the RadScheduler.  The site works on the server when you visit it locally or remotely via the IP, but when we try to access it using the SSL address that runs through our hardware load balancer it will not work.  We have a previous version of the same application that works and the main difference between the two is the use of the WebService to populate the data in the RadScheduler. 

The error that we get when attempting to access the new website:  

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ###.###.###.170:443

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ###.###.###.170:443

Similarly, we get a WebException in the event viewer that states:

Exception information:
    Exception type: WebException
    Exception message: Unable to connect to the remote server
 
Request information:
    Request URL: https://est01.esalestrack.com/oasis/default.aspx
    Request path: /oasis/default.aspx
    User host address: ###.###.###.###
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 8
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at System.Net.WebClient.UploadString(String address, String method, String data)
   at Telerik.Web.UI.SchedulerWebServiceClient.GetResources()
   at Telerik.Web.UI.RadScheduler.BindResourcesFromWebService()
   at Telerik.Web.UI.RadScheduler.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at Telerik.Web.UI.RadScheduler.EnsureDataBound()
   at Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource)
   at Telerik.Web.UI.RadScheduler.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
Any help is greatly appreciated. 
Peter
Telerik team
 answered on 17 Nov 2009
2 answers
76 views
Hi All,

In heirarchy grid hot to expanl all, by c# code.

Please help me regarding this.
pradeep k
Top achievements
Rank 1
 answered on 17 Nov 2009
3 answers
349 views
In our page we used RadEditor to display the body of the mail.

We should have the RadEditor to be read only while readig the mail.

If i set Enable = "false" & width="150px", the scroll is not coming for the editor and we could see the first 10 lines of the mail body. The remaning lines are not able to see.

If I set Enable = "false" and no width porperty the RadEditor extends with respect o the mail body. we need scroll for this content.

we already tried with the following client side script in the OnClientLoad event, but this is also not workin. We are using the 2009.2.701.35 version DLL.

function OnClientLoad(editor)

{

editor.enableEditing(

false); //disable the toolbar and content area

 

}

Please provide a solution that the content should be read only with scroll.
 
Please refer the attached document which contains the screen shots of our issues.

Thanks in advance

Regards,
Bharath

Rumen
Telerik team
 answered on 17 Nov 2009
3 answers
181 views
Hi,
We have a page with RadDock that contains custom DockCommands. The custom commands are created dynamically on server-side.
Works great. That is, with Q2.

Today I realized that images are not rendered for the custom commands in Q3. Instead, it shows the default expand/collapse arrow (see attached image). Otherwise, the commands work well.
The html generated for Q2 looks like that:
<span class="rdCommands"> 
  <a class="rdCollapse" title="Collapse"></a> 
  <a class="dockCommandDelete" title="Poista"></a> 
  <a class="dockCommandEdit" title="Muokkaa"></a> 
</span> 
 

and the html for Q3
<ul class="rdCommands"> 
  <li><a title="Muokkaa"><span class="dockCommandEdit">&nbsp;</span></a></li> 
  <li><a title="Poista"><span class="dockCommandDelete">&nbsp;</span></a></li> 
  <li><a title="Collapse"><span class="rdCollapse">&nbsp;</span></a></li> 
</ul> 

The custom images are in the css class (a.dockCommandEdit, a.dockCommandDelete) and the hover images are in the respective hover classes.

The documentation for RadDock mentions only changes in custom RadDock skins that are not backward compatible.
Is that a known issue?

eyal
eyal
Top achievements
Rank 1
 answered on 17 Nov 2009
6 answers
174 views
Hello, I'm getting the above error "Object does not support property or method"  whenever i try to navigate away from a page using one of your controls.  I've checked the forums and i've tried removing my form decorator, and I'm running IE7.  One of the posts mentioned a problem with IE8 in an old version.  I'm currently runing the latest version( i downloaded it a week ago i think).  The error only shows when i have Disbable Script Debugging (internet Explorer) and (other) off.  When i go into the debugger session via th error message it loads a file with a rather long name but starts, Telerik.Web.UI.WebResource.asxd? then a bunch of stuff after that which contains the clientId of the scriptManager which is in my master page.  and something about a hidden field.   The code stops on 

return

 

document.getElementById(f) that line  f is set to "modalDivId_ctl00_cphBody_dgListData"  i assume its a reference to the modal edit popup i use on that grid (dgLists).  the above line is in a function that starts 

 

$get=Sys.UI.DomElement.getElementById=

function(f,e){If(!e) *error line goes here* and then the function continues for a while.

the commetns at the top of thie file say this section is MicrosoftAjax.js.  The error happens when i try to navigate away, it doesnt seem to happen on a async postback, and only seems to happen when the page loads from a full postback.  I've also tried removing the modal box from the grid, before the error mentioned a radComboBox, when i removed that control it started having the grid as the value of f.   Naturally i can turn off script debugging and not see it, but i cant ensure that my users do the same.  Any help or suggestions would be appreciated.

John

 

Georgi Tunev
Telerik team
 answered on 17 Nov 2009
3 answers
134 views
Firstly - this isn't a Telerik problem, its me. Although the problem has come about when using the RadAjax to ajaxify my page.
 
What I don't understand is what I'm doing wrong, as some pages work OK and others dont.
 
My question is what is best practice for including client side javascript when using AJAX.
 
I have a master page, and include my javascript in normal

<

 

script type="text/javascript"> </Script> tags, so not sure if this is correct.

I have tried using RadAjax Manager, but now only have a RadAjaxPanel around the whole code section, just inside the content area:

<

 

asp:Content ID="Data" ContentPlaceHolderID="cph_Main" Runat="Server">

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" 
And the behaviour is the same.

My page has a dropdown of categories, which updates the grid. The Grid in turn is nested and has a list of areas and items in those areas.

The category updates the grid OK, and each section of the grid works fine, except when I try to add or edit grid items I get an error along the lines of:

Error:Sys.ScriptLoadFailedException: The script'Expert/ScriptResource.axd:.......

What I cant figure out is why, I have another page with a treeview populating a tabview which in turn populates a nested grid, and this works fine.

Any help would be appreciated.

Pavlina
Telerik team
 answered on 17 Nov 2009
1 answer
105 views

Hello,

We upgraded in Q1 to take advantage of the new skinning technique and use the Stye Builder when it was released.  I'm working with a skin that was created from WebBlue in Q12009 and I'm finding styles names in this version that are named differently in the current version.  I thought one of the reasons for recreating the skins starting with Q12009 was to avoid dealing with differnt style names between skins.  If the style names change between versions it causes a similar problem.

Here is an example take from the WebBlue skin:

Q1 looks like:

/* Headings 4-6 */

.RadForm_WebBlue h4.rfdH4
{
 color: #000000; 
 border-bottom: solid 1px #a0a0a0; 
}

Q3 looks like:


/* Decorate <h4|5|6 /> */
.RadForm_WebBlue.rfdHeading h4
{
 color: #000000; 
 border-bottom: solid 1px #a0a0a0;
}


Why are there differences in the style sheets now?  Most importantly are there other differences and can anyone provide a list of those styles which have changed names and need to be updated in my Q1 skin to be compatible with the Style Builder?

If I change the style names in the style sheet they won't work correctly with our version of the RadTools, what is the work-around for that?

Thanks,
Bob

Georgi Tunev
Telerik team
 answered on 17 Nov 2009
1 answer
106 views
Hi,

How can i make the first column as a hyperlink, without using the columnname.

Column position is same, But name will different.

In First procedure returns columns names

eg: [test1],[testname],...........


In Second procedure returns columns names

eg: [test2],[testname],...........


In Second procedure returns columns names

eg: [test3],[testname],...........


I had one GridView only.

how can i make the first column as a Hyper-link
Princy
Top achievements
Rank 2
 answered on 17 Nov 2009
1 answer
291 views


Hi,

 I have hyperlink in column in the RadGrid. When i export the grid to PDF. I could see the hyperlinks even in PDF also.
 When i click on link in PDF then it's giving some script error.

 My requirement is how to avoid/remove hyperlinks in PDF.


Regards,
Satya.

Princy
Top achievements
Rank 2
 answered on 17 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?