asp.net-3.5

How will I use SUGGESTED KEYWORD TOOL SERVICE in my web application?

Hai, I am working with ASP.NET C# 3.5 web applications. I intergrated MicroSoft AdCenter API 6.0 with my web application for advertisement purpose and this is working fine. Now, my client expected the KEYWORD SUGGESTION speciality also like real AdCenter WebSite. (i.e. when we make an advertisment directly in the real AdCenter Site, en...

how can i check both textbox value is same or not on control change event in asp.net 3.5 c#

i want to check two textbox value if they are same or not when cursor goin next cotrol in asp.net 3.5 c# ...

How to diagnose "the operation has timed out" HttpException

I am calling 5 external servers to retrieve XML-based data for each request for a particular webpage on my IIS 6 server. Present volume is between 3-5 incoming requests per second, meaning 15-20 outgoing requests per second. 99% of the outgoing requests from my server (the client) to the external servers (the server) work OK but about 1...

Administrator section for a website - ASP.NET

I have a website for which I need to implement the admin interface. The functionality is pretty generic and should include CRUD operations to DB tables and charts etc. I know I can whip up something pretty quickly using the GridView control but was wondering if there's something open source that supports this functionality so that I don...

ADFS in Asp.Net

Hi All, Suggest me with some informative links about working with ADFS in Asp.Net 3.5 and its related downloads. ...

Do a database query on Textbox onblur event

I am using asp.net 3.5 with C#. I need to do a database lookup when a user enters ProductID in txtProductID. I guess doing javascript is out of the question since this will have to be server side call. I wrote this code in the page_load event of the webpage: protected void Page_Load(object sender, EventArgs e) { txt...

GridView's NewValues and OldValues empty in the OnRowUpdating event.

I have the GridView below. I am binding to a custom datasource in the code behind. It gets into the "OnRowUpdating" event just fine, but there are no NewValues or OldValues. Any suggestions as to how I can get these values? <asp:GridView ID="gv_Personnel" runat="server" OnRowDataBou...

ASP.Net checkbox to return a "Yes" or "No" value (instead of True / False)

I am using C# and ASP.Net 3.5, and trying to get a "Yes" / "No" value from checkbox, rather than a True / False. Is there an easy way or do I need to do "if" statements? ...

What is the best approach to build a client control panel?

We have an old control panel for customers where they can not only update their account (contact information, billing, etc...) but also interact with our application. We want to rebuild this application to have a newer look and feel and want to be able to easily expand it in the future. The layout is fairly simple... a header on top wi...

enableviewstatemac=true

Does setting enableviewstatemac to "true" affects the site's performance? Could you give me some explanation? ...

Can't "Enable Editing" on my gridview

I'm trying to connect my gridview to a LinqDataSource to select, update, insert and delete records. I am able to get into edit mode and cancel out of edit mode but when I click update nothing happens. I've found a few things online that say to check the "Enable Editing" box in the gridview smart tag but when I go into the smart tag t...

Two asp.net applications to use the same membership tables - specifically user login data

HI, I have created a asp.net solution with two applications. They bothe use the same database which is setup with .net membership and roles. Application 1 uses the membership for sauthentication to an administration area - this works fine. Application 2 - has a different applicationID to App1. I want to be able to use the existing user ...

Why can't I use WCF DataContract and ISerializable on the same class?

Hi all, I have a class that I need to be able to serialize to a SQLServer session variable and be available over a WCF Service. I have declared it as follows namespace MyNM { [Serializable] [DataContract(Name = "Foo", Namespace = "http://www.mydomain.co.uk")] public class Foo : IEntity, ISafeCopy<Foo> { [DataMember(Order = 0)] ...

Error: A SQLParamenter wtih ParameterName @myparm is not contained by this SQLParameter Collection

Good Morning, I'm working on an ASP.NET 3.5 webforms application and have written the following code: Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click Dim connectionString As String = WebConfigurationManager.ConnectionStrings("Diel_inventoryConnectionString").ConnectionStrin...

ASP.NET MVC Html.RouteLink

I am trying to understand what this RouteLink does. Say, in my Global.asax, I have the default route for MVC routes.MapRoute( "Default", // Route name "{controller}/{action}/{id}", // URL with parameters new { controller = "Home",...

How to refresh parent and ancestor windows after closing the child windows?

Hi, I have three windows: 1st - main window 2nd - child window - it's opened using window.showModalDialog from 1st widnow. 3rd - window - is an ancestor of 1st window and is's opened from 2nd window using window.showModalDialog. And now what I need to achieve is to open 1, 2 and 3 window. Next after closing the 3rd one, refresh the 2nd...

PagedDataSource does not support serialization - how can I enforce this ?

Sounds like I want to override a physics law, but at least it is the most reasonnable solution, cpu / HDD and Ram effective for my asp.net project. In fact, I got a pageddataSource and a customDataReader that supports paginated data. The truth is my data are in a viewstate variable, because it is re-used in an update panel. When I int...

Checking if a record in datareader is NULL

I have browsed thru other postings on S/O, but I can't find a solution that works for me. I have a datareader that might return a null value, and if so, I want to value to equal blank txtMiddleName.Text = rdrGetUserInfo.GetString(1) ?? ""; The string above does not work. When I walk thru the code, the code jumps to my error trapping ...

How can I format the text in a databound TextBox?

I have ListView that has the following EditItemTemplate: <EditItemTemplate> <tr style=""> <td> <asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" Text="Update" /> <asp:LinkButton ID="CancelButton" runat="server" CommandName...

Reusing Object does not work properly

Hi guys, I'm reusing a created Object just to change a Date and the ordinal value, but at the end I get 6 objects exactly as the last. in other words, I'm adding the object as a Reference and I should add as a Value What should I inherit my Object to have the Copy() method ? RecurringPayment rp, copy; rp = new RecurringPayment { ...