Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
676 views

Hi!

We are developing an intranet application that uses Windows Authentication with impersonation. Everything works well when everything is on one server and of course in the development environment. (We are using Visual Studio 2012, .NET 4.0, Windows Server 2008 R2, SQL Server 2008 Enterprise.)

We did have some initial issues with this setup until we realized that we need to support delegation for the Network Service account via AD. When we check the user object on a test webpage, everything works fine:

AuthenticationType: Kerberos

ImpersonationLevel: Impersonation

IsAnonymous: False

IsAuthenticated: True

IsGuest: False

IsSystem: False

Name: [user]

Owner: S-1-5-32-544

Token: 2536

User: S-1-5-21-1292428093-1715567821-839522115-9372

Note: we want to use Kerberos in this environment, and this is an HTTPS site. The database server and the web server are two different servers and both are on the same domain.

When we add a Telerik Listview control…

<telerik:RadListView BackColor="Gray" runat="server" ID="radListViewTasks" OnNeedDataSource="radListViewTasks_NeedDataSource" Width="100%">
  
                            <ItemTemplate>
  
                                <div class="listViewItem">
  
                                    <asp:HyperLink ID="hyperLinkTask" NavigateUrl='<%# Eval("PageURL") %>' runat="server" Target="_self">
  
                                        <asp:Image ID="imageTask" runat="server" ImageUrl='<%# Eval("FolderIcon") %>' /><br />
  
                                        <span><%#Eval("TaskName")%></span>
  
                                    </asp:HyperLink>
  
                                </div>
  
                            </ItemTemplate>
  
                        </telerik:RadListView>

…the database call on the backend:

protected void radListViewPages_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
  
        {
  
            radListViewPages.DataSource = GetPagesDataTable();
  
        }

… is causing the impersonated account to revert back to IIS’s account: Exception of type 'System.Web.HttpUnhandledException' was thrown.. Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

When we bypass the ASP.NET impersonation account and use a domain account, the error changes to: Exception of type 'System.Web.HttpUnhandledException' was thrown.. Login failed for user '[REDACTED]WEB1$'

Thinking we might have an ajax issue, we turned off the RadAjaxManager. No effect.

I will spare you all the database access code because we have tested both impersonation paths in other parts of the application. (We need to support two paths because we do some database work in the application_start in the Global.asax file, so that work is done under one specific domain account and all other session (user) activity is done through the impersonation via asp.net.)

I am not sure this is specifically a Telerik Listview issue, but more of the ‘need datasource’ call.

Before I take the time to build another test project for tech support, I thought I would go to the forum to see if anyone has banged their head against this issue.

Why would the Telerik datasource calls use the IIS account and not honor the web config settings? Do I need to set up something up in IIS for the Telerik modules to use? Or what?

Thanks for your help!

Michael

Martin
Telerik team
 answered on 25 Feb 2013
3 answers
409 views

Hi

I want to change radalert style, I am using bellow code to change the style

1. Need to change default  Ok button style
1. Need to change  RadAlert  Tiltle backgorun style


StyleSheet.cs

 

 

 

 

 

 

 

 

.RadWindow

 

 

.rwTitlebar

 

 

 

 

 

 

 

{

 

 

 

background-image: url('Images/pop_bg.gif');

 

 

 

 

 

 

}

 

 

 

 

 

.RadWindow

 

 

.rwTopLeft

 

 

 

 

 

 

 

{

 

 

 

background-image: url('Images/pop_left_curve.gif');

 

 

 

 

}

 

 

 

 

 

.RadWindow

 

 

.rwTopRight

 

 

 

 

 

 

 

{

 

 

 

background-image: url('Images/pop_right_curve.gif');

 

 

 

 

}

 

 

 

 

 

.rwDialogPopup .rwPopupButton

 

 

 

 

 

 

 

{

 

 

 

background-image: url('../save_btn.gif');

 

 

 

 

background-repeat: no-repeat;

 

 

}




aspx

 

 

<telerik:RadWindowManager ID="RadWindowManager1" runat="server"

 

 

 

 

EnableEmbeddedSkins="False" EnableTheming="True">

 

 

 

 

</telerik:RadWindowManager>

 


Marin Bratanov
Telerik team
 answered on 25 Feb 2013
1 answer
110 views
We were using a custom button in radwindow (as described in your article - adding custom button with javascript) and recently upgraded to the latest version. Now, the title bar is totally broken when custom button is added. The title width is automatically adjusted; and changing the list width (via its style - as described in your article) is overridden by title being re-adjusted automatically.

As a result, if you add a custom button on radwindow title bar, close buttons falls down on the second line; background image of title bar starts repeating in an ugly way (since the height of the title bar is extended due to close button showing in second line).

Attached is the situation right after the new version. We were using a version that is 1 year old; and it was just fine.

Please advise asap.

Thanks.
Marin Bratanov
Telerik team
 answered on 25 Feb 2013
6 answers
133 views
Hi all,

i need to change the RadConfirm window contect and header direction from code behinde according to flag value?

if flag ==1 this means ltr
if flag ==2 thism means rtl

i don't know how to do that?
please help
asaad
Marin Bratanov
Telerik team
 answered on 25 Feb 2013
6 answers
221 views
Hey guys,
Hopefully this will be an easy one for you guys; but it has me stumped. I have a RadGrid with FilterByColumn in the command bar. The filtering works as expected, functionally But when I select a filter function from the drop down menu and then re-open the drop down the font color is blacked out. When I hover over a menu item the background turns black and the font turns white; so that works. But once the item is selected the background turns black but the font stays black. I've been trying to find the css class that controls the selected menu item in the grid filter but so far no luck. This happens on every RadGrid in the application, so it needs to be fixed in the css. It also happens in any browser, so it's not a browser issue. If you guys can tell me where to look for the css class to set the font color for selected filter functions in a rad grid I would really appreciate it.

Thanks,
Shane
Ivan Zhekov
Telerik team
 answered on 25 Feb 2013
3 answers
84 views
I'm getting this error while drag-and-dropping in any radgrid in my website with version 2011.2.915.40 (Telerik.Web.UI.dll) and I didn't get this error previous to upgrade from version 2011.1.413.40.

Thanks.
Maria Ilieva
Telerik team
 answered on 25 Feb 2013
1 answer
68 views
In my code behind file, I have set the property enabled = "false" for my Grid. I tried to click on the check box for an item row to select it and it was disabled as one would expect. I then double clicked on the check box for an item row and all the check boxes are deselected. For some reason the grid will allow the user to deselect items by double clicking while the grid is disabled. See attached Screenshots. However, this action does not work once the items have been deselected and a user tries to double click a check box, the items are not reselected.

Is there something that I am missing? I would not expect this functionality when the grid is disabled.
Eyup
Telerik team
 answered on 25 Feb 2013
2 answers
202 views
I have two dropdown columns in a grid, if i change one dropdown i want to be able to change the contents of the other dropdown in the grid depending on the chosen value in dropdown 1. I can get the dropdown to autopost but I am unsure on how to repopulate the second drop down as this is currently being done in the itemdatabound method. Can someone tell me if this is possible?
Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Feb 2013
12 answers
638 views
I have just updated my Telerik AJAX from 2012 Q2 To 2012 Q3 recently.
I found out that the RadButton, when set to Link ButtonType, unlike the previous version, it does not have transparency background. Is there anyway to fix it?

Attached, please find following pic:
* "Before.png" picture, which show the RadButton (Link ButtonType) in 2012 Q2 Version.
* "After.png" picture, which shown the RadButton (Link ButtonType) in 2013 Q3 Version.

Thanks

Lamk
Bozhidar
Telerik team
 answered on 25 Feb 2013
2 answers
280 views
I've been having issues with RadEditor exporting a very simple and basic version of the actual HTML I've added.

I've attached 2 screen shots. 
1. How it appears in a browser when launched from Dreamweaver
2. The exported PDF

It's really frustrating that the HTML code has to be so specific and that it ignores all of the formatting (inline styles and css styles)

Any tips for getting exported PDFs to use CSS styles?
Jason
Rumen
Telerik team
 answered on 25 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?