asp.net

selected node back color in treeview asp.net

I want to change the back color of the selected node in tree view. How do I do that? ...

Add ASP.NET Membership tables to my own existing Database OR should i instead configuring a separate asp.net membership database

I was reading through this post here http://www.misfitgeek.com/op-ed/adding-asp-net-membership-to-your-own-database and thought to my self what the common practice is. What do developers using ASP.NET membership and authorization in their applications recommend as a best practice? creating the membership tables in the same database that...

what are the difference between asp.net server control and html server control

hi all what are the difference between asp.net server control and html server control? when do can i use these controls and which is better to app. thanks saj ...

Telerik tabstrib doesn't work when jquery ui is used

Ive got the following code in my site.master page: <head runat="server"> <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title> <link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" /> <%--<script src="../../Scripts/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="...

Calling jquery plugin from .cs file

Hi, I have a custom control which is used on many pages. I am making use of a jQuery plugin shown in the below link. Link- http://www.jquery.wisdomplug.com/jquery-plugins/jquery-custom-select-box-plugin/ Problem is this plugin loads on the pages which take time to load and fails on those which load quickly.I also have multiple instance...

Selecting multiple table values and binding the data into multiple grids

Hi Everybody. I have multiple tables . I have created one stored procedure where I am selecting the table values. like create proc myProc as select col1, col2, col3 from table1 select cola, colb, colc from table2 select colp, colq, colr from table3 select colx, coly, colz from table4 I am using ...

Cannot update .Text property of asp:TextBox inside asp:UpdatePanel

I have several dropdownlists and textboxes inside an <asp:UpdatePanel>, which should let me edit some details after selecting an item inside an <asp:GridView>. The grid is not inside the updatepanel. From the UpdatePanels' .Load() method, I change the .Text of a few <asp:Label>, <asp:TextBox>, and I set the .SelectedValue of some <asp:D...

How to omit data in some cells, where table is filled from xml file

I have xml file with data that i have to display in table. Now I am displaying all data row by row, so my table looks like: User | Date | Something John | 05.10| task_1 John | 05.10| task_2 John | 16.10| task_3 Jane | 16.10| task_1 but i want to get something like: User | Date | Something John | 05.10| task_1 | ...

How to force Sqlservices.Uninstall to delete old data too?

Hi all, Does I use SqlServices.Uninstall() to uninstall ASP.NET Membership tables and other stuff programmatically from database. But when tables hold old data, it does not work with following error message: Cannot uninstall the specified feature(s) because the SQL table 'aspnet_Membership' in the database '[DBNAME]' is not empty. You ...

How to target asp.net MVC 1 when version 2 is installed on build machine

Hi There, I have a site that was built using asp.net MVC version 1. I recently upgraded to visual studio 2010 which includes version 2. Upon opening the site now, I see that it believes the runtimes for MVC for this project are at version 2 so when I publish to my server, it fails as it cannot find version 2. Installing MVC 2.00 is not...

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts

Can anyone have a solution for this issue Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll. I am using asp.net 3.5, VS 2008. The version ...

What is use of "??".

Possible Duplicate: What is the ?? operator for? Please explain me what is use of "??" in below code and what is "??" used for. if ((this.OrderDate ?? DateTime.MinValue) > DateTime.Today) { e.Description = "The Order Date must not be in the future."; return false; } the above code is at http://nettiers....

ASP.net wizard Design

Hi, I have requirement to create an asp.net wizard control which will be re usable in a number of projects. I do not wish to use the out of the box ASP.net wizard control as for the number of pages etc for the systems it is too basic. At the moment i am trying to come up with a good re-usable extensible design which will be easily imple...

button names are blurred after disabling in Internet Explorer

Hi,my asp buttons are getting blurred after disabling them through code in Internet Explorer.on mozilla it is working fine. Css applied to buttons are .Login-btn{ font-family: Tahoma; font-size: 12px; font-weight: bold; color: #FFFFFF; background-image: url('../images/Login-btn.jpg'); background-repeat: repeat-x;...

Convert database field to time format

I'm trying to make my string a nice formatted time but the column in the database isn't set up as a date/time field is there anyway I can do this? Here's my query Dim query as String = "Select * from openquery (devbook, 'SELECT wb.arrival_time FROM web_bookings wb ')" And here's where i'm converting it Session("formattime") = DateTi...

I cannot change control's visibility on C# code

I want to change controls visibility on c#, but nothing happens. The controls are in an AspxPopupControl and 3 of them are hidden in design time, 1 of them is visible. I use this code to visible them if (paramType == "Grup") { gv_Answers.Visible = false; trlGroup.Visible = true; ...

jQuery selector and DataPager cannot coexist! (ASP .NET)

I am using a ASP .NET ListView with a MS SQL Database. I use the ListView to show the information and in the list view, there is an hyperlink which opens the editing window for the specific record in a jQuery Modal Dialog Box. <asp:ListView ID="ListView1" runat="server" DataSourceID="SqlDataSource1"> <LayoutTemplate> <div id=...

ASP.NET VS2010 Sub application resource cost

Hello, I was considering having a sub "web application" in my asp.net (4.0 C#) web application (using the same application pool). E.g. for a blog application so I may keep things separate. How much additional resources of the server does a sub-application take? Or rather how much resources (excluding the app pool) does a web applic...

How to create a resuable structure in ASP.NET 4.0 (C#)

Hello, I am looking at how I structure my projects in ASP.NET (web applications). Most websites will have the basics but each project will differ and I will need to add some extra functionality that I would like to group into applications. E.g. add a blog application. I am interested in web applications so that I may package websites...

SmtpClient.SendAsync decrease or increase performance?

If I have 2 SmtpClient objects and I call SendAsync() method on both simultaneously, will these 2 send requests be processed sequentially in one thread or simultaneously in more than one? What is the implementation of SendAsync() method? If every SendAsync() method call is processed in new thread from the web server thread pool, this ca...