Good day,
I have a parent gridview with a few columns. On each row, I want to have a nested gridview. However, I have problems about displaying correctly the nested gridview.
If I place the nested gridview in the first columns of the parent gridview, when I will set the visible attribute to true to the nested one, of course, all the co...
I know the security risk associated and have brought it up with the business, but they want to have their 5 domains to share the login cookie.
We are using and have no plan to stop using ASP.Net Membership and Profiles. Is this possible? A hack would even be greatly appreciated.
...
I have a dropdown list on my asp.net mvc site:
<%= Html.DropDownList("CustCodes") %>
My controller:
ICallService sc = new CallService();
IList<CustCode> custCodes = sc.GetCustCodes();
ViewData["CustCodes"] = new SelectList(custCodes, "ID", "Name");
What I want is once the dropdown is displayed to either have a blank entry at...
I'm new to LINQ, I've used LINQ to SQL to link to two tables, it does return data, which is cool. What I'm trying to understand is what datatype is being returned and how do I work with this datatype?
I'm used to dealing with datatables. Are we throwing out datatables (and all the other ADO.Net object like rows, datasets etc.) now if ...
Hello.
I want my ASP.NET site to have simple menu string aka Breadcrumbs.
I have created Sitemap with all required elements and registered into Web.config. For example:
<siteMap>
<siteMapNode url="Default.aspx" title="Home" >
<siteMapNode url="hosting/Default.aspx" title="Hosting" />
<siteMapNode url="software/Default.aspx...
The last two lines of this code do not work correctly -- the results are coming back from the LINQ query. I'm just not sure how to successfully bind the indicated columns in the results to the textfield and valuefield of the dropdownlist:
protected void BindMarketCodes()
{
List<lkpMarketCode> mcodesList = new List<lkpMa...
While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code editor context menu has only item 'View Designer' but nothing about to view markup quickly!
To see it you need to open Designer and click Markup label in the bottom of a window. Or use Shift+F7 hot key (by default).
So I want to add an item menu ...
Latest Asp.Net MVC RC permits to return JavaScript ActionResult.
I'd like to dynamically generate from the controller the Jquery script code associated to perform the classical $.ajax calls to the controller for Create Read Update Delete operations in ajax instead of classical get/post form actions.
Should I generate the javascript code ...
I am trying to reference a js file in a class in an ASP.NET and I receive this error:
Assembly 'XXX' contains a Web resource with name 'XXX' but does not contain an embedded resource with name 'XXX'
Searching the web tell me I must have a Path referencing problem, but I can't figure what is it.
Here is the hierarchy
<Root>
<App_C...
I have an asp.net page with a task bar on the side. Clicking a task opens up a user control for that task with some controls and a close button.
How do I run some C# code when that user control is hidden by clicking the close button?
Much of the stuff on the control is surrounded by an update panel and I'll just say right now that...
I have a route table similar to this
// Allow browsing categories by name, instead of by ID.
routes.MapRoute("Categories", "Categories/{action}/{name}",
new { controller = "Categories", action = "Index", name = "" }
);
// All other pages use the default route.
routes.MapRoute("Default", "{controller}/{action}/{id}",
new { controller ...
I need to disable JQuery tabs programmatically. The tabs are inside an update panel (Ajax) and the update panel is in an ASP.NET page.
Code:
<link type="text/css" rel="stylesheet" href="http://ui.jquery.com/testing/themes/base/ui.all.css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>...
In Silverlight 2, using C# on ASP.NET, you can pass a set of Initialization Parameters by assigning the Silverlight object's InitiParams with a string that's a series of comma separated key/value pairs.
I've seen other systems that have a similar mechanism for passing around collections of key/value pairs as a single string.
What is th...
How do you create a MembershipProvider for use in an ASP.NET/MVC website?
Doesn't it generate the tables it needs for you in your database?
...
I'm working with an ASP.NET app with localization and globalization. I'm having some difficulty understanding how to get the Date() function in javascript to work properly given the user's environment. My user base is split between Mexico (spanish) and the US (english). Since the Mexico date format is dd/mm/yyyy and the english format...
I have a string that is:
!"#$%?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]\^_`abcdefghijklmnopqrstuvwxyz{|}~¡¢£¤¥¦§¨©ª« ®¯°±²³´µ¶•¸¹º»¼½¾¿ÀÁÂÃÄÅàáâäèçéêëìíîïôö÷òóõùúý
I post that to service and used Htmlencode, then I get a result:
!#$%&'()* ,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~����������� ����...
Is there a CurrentNodeStyle set of properties in the ASP.NET version of the TreeView, or am I just blind? I want to set the CssClass for whichever node the user is currently on, and I'm not seeing a way to do this.
Googling reveals there was such a beast in classic ASP, but I'm trying to use ASP.NET 3.
...
Hello all,
When I run any Ajax control, i am getting the following error:This was written in .net 2.0 and running at .net 3.5.
please help me what is the setting i need to change.
"Error 32 Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its ...
We are looking to secure a bunch of ASP.Net 2.0 .asmx web services. The which will host the web services is already forms authenticated.
Is it possible to secure the web services using forms authentication?
What are the pros and cons and other possible ways to achieve this. We certainly don't want to pass a username/pwd or token in each...
I need to create a group of DropDownLists to show and allow change of a property group for an item.
I have the following code on my ASP page.
<asp:Repeater runat="server" ID="repeaterProperties">
<ItemTemplate>
<p><asp:DropDownList runat="server" ID="ddProperty" OnInit="ddProperty_OnInit" /><p>
</ItemTemplate>
</asp:Rep...