Is it possible to use an ASP.NET web.sitemap with a jQuery Superfish menu?
If not, are there any standards based browser agnostic plugins available that work with the web.sitemap file?
Recently I was asked the following question at interview.
"What are the different way to bind a Data Control in ASP.Net".
I have answered
Typed DataSet
Collections
Stored Procedure.
The interviewer expecting a lot more. Can anyone explain me the different way that we can bind the data controls?
In ASP.NET, binding a DataGrid to a list of objects is super-easy.
I end up with a row for each object in the list, and any cell in a given row is bound to a property of the corresponding object.
However, suppose one of the properties of my object is a dictionary, and each is expected to contain a specific key. Is there any way to bind one of my DataGridColumns to that dictionary key?
Thanks.
Hello,
I'm trying to add some share this javascript in between the head tags of an asp.net page but only if the page is not secure (!Request.IsSecureConnection). How do I get the code in the head tags to check for secure connection and then write the javascript if not secure. I've tried using <% % blocks and RegisterStartupScriptBlock and it's not working
Help, here is the idea:
External.dll
IMyClass NewCreated = (IMyClass)Activator.CreateInstance(Namespace.MyClass).UnWrap();
Asp.Net WebSite
App_Code
Namespace.MyClass.cs
Bin
External.dll
Is that even posible?
I have tried, a lot of posible combinations, like:
Assembly.GetCallingAssembly().CreateInstance("Namespace.MyClass")
Activator.CreateInstance(AppDomain.CurrentDomain,"Namespace","Namespace.MyClass")
Assembly.GetExecutingAssembly().CreateInstance("Namespace.MyClass")
I'm confused as to how revoking authorization works in the ASP.NET Toolkit. I've tried issuing the following:
ConnectSession connect =
new ConnectSession(FacebookHelper.ApiKey(), FacebookHelper.SecretKey());
Auth x = new Auth(fbSession);
x.RevokeAuthorization();
But I get an object reference error during the RevokeAuthorization call. Here's the call definition.
Any idea what I'm doing wrong?
Hi,
Can any one tell me which one is better in "Session Facade Class" and "Single ton Object" design patterns in ASP.Net? Also, please state the scenarions where specific design pattern is advisable to use.
Thanks
Rupa
Is there any c# sample code of integrating orkut from an ASP.NET web site (oauth authentication, retrieving friends, etc.)
Any help would be appreciated
Thank you
Is there a way that I can trace every method, basically a line trace, in an asp.net web site in production environment?
I don't want to go about creating db logging for every line - i see an intermittent error and would like to see every line called and performed by the website per user.
Looking for a custom ASP .NET control were the InnerHTML of a DIV is connected to a databas to fetch the content to render the HTML content from the databas inside the DIV.
Is there one out there I have missed or anyone could tell if its possible to make my own DIV component to make it DataBound?
Thanks,
Stefan
I have created a ViewUserControl in my ASP.NET MVC 2 project. This ViewUserControl serves as the general page-header for all views in the project.
How can I add a custom property on ViewUserControls, accessible from views using that control?..:
<%@ Register
Src="../Shared/Header.ascx"
TagName="Header"
TagPrefix="uc" %>
<uc:Header
runat="server"
ID="ucHeader"
MenuItemHighlighted="Menuitem.FrontPage" /> <!-- custom property, here -->
I have my ASP.NET web.config set with impersonation
<identity impersonate="true" userName="domainName\userName" password="userPassword" />
I'm running some a method like
IO.Directory.GetFiles(somePath)
And monitoring the file system access with Process Monitor
I keep getting all the access requests from the aspnet_wp.exe process to the folder, as the ASPNET user.
Why am I not seeing the access as the impersonated user?
Hello,
I have a question about how ASP.NET AJAX partial rendering actually works. Does it:
1) Renders the whole page on the server, transmits the whole page to the client, the client then merges just the area contained in the update panel.
2) Renders the whole page on the server, transmits and merges just the area contained by the update panel.
3) Renders, transmits and merges just the area contained by the update panel.
Thanks,
AJ
Greetings,
I have an asp.net mvc application. I have some links that corresponds to clients names. When user clicks on this link I would like to show an information of clicked client and additionally a textarea where user shall be able to write some text (comment) about selected client. How can I achieve it?
My users upload Word 2007 documents to our site and I'd like to load them into a rich edit control of some kind so the users can make modifications/ comment, etc.
What mechanisms are available to:
load the Word document via ASP.NET, and
parse/format/display the document in a rich editing control?
Also, what kinds of rich editing controls are best to use in this circumstance?
I am developing an ASP.NET 3.5 web application in which I am allowing my users to upload either jpeg,gif,bmp or png images. If the uploaded image dimensions are greater then 103 x 32 the I want to resize the uploaded image to 103 x 32. I have read some blog posts and articles, and have also tried some of the code samples but nothing seems to work right. Has anyone succeed in doing this?
I need to know how to implement payment gateway in asp.net for my belling based project.
Is there one payment is gateway enough to access all the bank account.
thanks
Regards..
A.Ayyappan
I think this is a pretty easy question...How do I make a asp.net function global? e.g. If I have a function GetUserInfo() defined on default.aspx how do I call this function from mypage2.aspx?
is there any custom asp.net membership providers that someone has already created online. I want to use a custom provider because their role provider is very sluggish and I would like to use integers instead of guids for user IDs
Hi all
I am using windows authentication within an ASP.NET application. I am wondering how to best get the objectGuid from the currently logged in user?
Regards, Egil.
What are some of the better messageboard components that are available for an ASP.NET site. I currently have a site in C#/Ajax (FW 3.5) that I would like to add a messageboard to (also have a SQL Server db). Can someone recommend a component that can be easily added?
Why does my loginStatus show 'log out' even though I've not actually logged in yet?
<asp:LoginStatus ID="LoginStatus1" runat="server"
LoginText="Log In"
LogoutText="Log Out"
LogoutPageUrl="~/Default.aspx"
LogoutAction="Redirect" />