Hello,
I'm fairly new to the .NET ASP and MVC. My company has developed an application using ASP2. They are considering upgrades:
I'd like to know what the big advantages would be in moving to ASP .NET 4 and also would there be even greater advantages in using MVC4.
Just some background. The application is internal and will not face...
I'm trying to put an imagebutton in a tablecell, but the only property to add anything to a tablecell I know of, is the Text property. And that's for text, only accepting Strings.
How do I add the Imagebutton instance instead?
...
Hi all, I need you help me with asp code.
I got a home page that contained User Name and Password for user to log in by using a href attribute and i don't know how to pass the value of text to a href to login.asp file.
Please help me!
Example:
User
Password
...
Hi,I have saved two pages evernote.com/mobile/Login.action and http://www.evernote.com/mobile/CreateNote.action?paginatedQuery.page=0&paginatedQuery.queryDefinition=RECENT%3A locally and want to create a single page for logging-in and creating note.
Login page has this code-
<div id="pageContent">
<div id="login_box">
<div id="l...
Hey,
I'm trying to make a LINQ to SQL statement which filters results where the ID is not in some list of integers. I realise the .contains() method cannot be used in Linq to SQL but for the purposes of explaining what I'd like to do, here's what I'd like to do:
nextInvention = (from inv in iContext.Inventions
where...
Hey
Is there any way (Via IFRAME or something like that) to enable me browse to 2 different pages on the same browser on 2 different accounts in the ASP.NET membership?
Thanks
...
where we use <%@ %> <%= %> <%# %> etc.
what else asp tags can be added in asp.net web pages?
...
I was profiling our ASP .NET application to try and reduce the CPU usage and fond some strange behaviour regarding NHibernate and log4net.
Over 50% of the time on our app is spent in the log4net GetLogger and CreateRepository methods, which are called from ExecuteReader in NHibernate. The screenshot below is a jetBrains dottrace hotspot...
There's an asp menu I'm using that is auto inserting style="width:3px;" into my menu table tds creating a nasty gab in between my tabs. I'm testing to remove this inline style with jquery instead of our developer customizing the menu just for this cosmetic blemish.
below is a simple example:
<table border="1" cellspacing="0" cellpaddin...
Hello Dear,
I'm needing a lot of help from yours.
I have an application in ASP, not ASP.NET ... Which uses several COM+ components developed for me.
Below is an example of using one of the components.
Dim componentXPTO
Dim xpto
componentXPTO = Server.CreateObject("NAMESPACE.XPTO")
Set xpto = componentXPTO.myFunction(variables)
Set...
Hi Guys
I'm trying to Post Data to a Web Service, from ASP (VBScript), using the CreateObject("Microsoft.XMLHTTP"). Trick is, I am able to post the Web Service if it resides on the same server. But the moment I post the web service from a remote server or different server, I assume its as if the post data never got sent.
Below is an ex...
Hi all,
I have two tables from two different databases.
For example:
Table: Articles1 - Database: db1
Attributes: id date headline text
Table: Articles2 - Database: db2
Attributes: id date headline text
Now i want to make an article feed with articles from both tables combined and sorted by date. From my knowledge it isnt possible ...
Hi guys.
I am having problem in EditItemTemplate of FormView.
When I use such code in InsertItemTemplate everything works:
<asp:DropDownList ID="Lic_PosiadaczLicencjiIDDropDownList" runat="server"
SelectedValue='<%# Bind("Lic_PosiadaczLicencjiID") %>' />
<asp:CascadingDropDown ID="CascadingDropDown1" runat="server"
TargetCo...
I was working normally but now i'm getting this error:
Could not load file or assembly 'App_Licenses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I have researched for answers on the web but i cant find any specific h...
I'm trying to build an ASP.NET MVC 2 application. I want to pass data to a view from a controller. I am able to pass it when it is only a single data structure. In the controller:
private ArticlesDBEntities _db = new ArticlesDBEntities();
public ActionResult Articles()
{
return View(_db.ArticleSet.ToList());
}
an...
I have a strange one here..
I create a recordset using Classic ASP
Set rs = server.CreateObject("ADODB.Recordset")
rs.ActiveConnection = g_conn
rs.CursorLocation=3 ' adUseClient
rs.LockType= 3 ' adLockBatchOptimistic
on error resume next
rs.Open ...
I am trying to develop a plugin architecture in .Net. The application will be a .Net application. There will be directories which holds the plug-ins. Each directory will represent a plugin. Each plugin directory will also contain all the dependency dlls as well. The plugins need to be stored in separate AppDomain as the plugins may ...
Hi, I'm at a loss on how I can return a readable recordset from a function in classic ASP.
This is what I came up with, but it's not working:
Response.Clear
Response.CharSet = "utf-8"
Response.ContentType = "text/plain"
Dim Count
Set Count = Test
Response.Write Count.Fields(0).Value
Function Test
Dim Query, Connection, Comman...
Can anyone recommend a good image gallery, with password protect-able galleries? The website I am looking to install it on is a wedding photographers site so she can upload te weddings for her clients to view, the site is on a shared windows server with 1&1.
Thanks in advance for any ideas :)
...
I am playing around with an ASP.MVC site, I want one of three images to be displayed depending on the value of an enum in the strongly typed model I have.
I could use an IF/Case statement in the view but it should be the responsibility of the controller I feel, what's the best way to implement this?
...