Given the following code which is extremely generic, I was hoping someone could tell me a bit about what is going on behind the scenes...
[HttpPost]
public ActionResult Load(Guid regionID, HttpPostedFileBase file)
{
if (file.ContentLength == 0)
RedirectToAction("blablabla.....");
var fileBytes = new byte[file.ContentLen...
I had to develop some custom ASP.NET web controls because I couldn't find ones already available for purchase with the functionality required. I was surprised I couldn't find what I needed and I'm thinking the web controls I developed may be useful to others.
So I'm thinking maybe I can sell my newly developed web controls and make a bu...
Hello,
I have a web.sitemap with several hundred nodes which contain the properties "url", "title", and "description." I then use a TreeView to display certain elements of this sitemap depending on the location of the file. My question is: how can i display the description associated with each node as plain text immediately below the lin...
Hello,
This must be a trivial question to some, but I haven't found any actual information about this.
I have an ASP.NET MVC web application. As I like to write reusable code, I'd like to put my Controllers into a separate library assembly and reuse them across multiple web applications.
The question is, how can I tell ASP.NET MVC tha...
Hey,
How can I in this property set aspx file which is one level up and there in folder Interface ?
I try something like DestinationPageUrl="../Interface/Page.aspx" but not working or DestinationPageUrl="~/Interface/Page.aspx" :/
...
i have a group page. i am creating a website for the group and they want to be able to see the recent facebook updates (what you see on the group's facebook wall) on their website.
is this possible without having to have a facebook popup login and just programatically pass in my login information?
...
Hi geeks~
I know that I could use HttpServerUtility.UrlTokenDecode Method to do the job. But the problem is that I am using .NET 1.1 and this method is only supported in .NET 2.0+. Also I found that Convert.ToBase64String method is not an option because of the differences addressed here. So what other options do I have? Do I have to wri...
I have read many different resources but am still not sure if this is possible without using AJAX.
I have a javascript function that loads a div into a modal and says "Loading Please Wait" I have named this funciton loadingModal()
function loadingModal(url)
{
loadModal(...)
}
What I need to do is only trigger this after I have ...
In ASP.net, I'm using textbox in templatefield's itemtemplate. I got it data-bound with no problem.
But my problem is, I'm trying to write a function to find column index by its data-bounding table's column name.
Something like this :
foreach (DataControlFieldCell cell in row.Cells)
{
if (cell.ContainingField is BoundF...
Hi,
I'm working on a Web project using Asp.Net MVC, which I'll have to deploy to a farm environment.
I've read a lot of articles and I'm thinking on disabling completely the SessionState, I think this would make a more robust application, and will save me a couple of headaches (Everything I've read tells me that handling sessions on a ...
Why does T4MVC generate controller default constructor? Just curious.
...
I have a web application I want to deploy via Web Deploy, using "Build Deployment Package"
It has a folder called "Errors". This is part of the project. Web Deploy adds it, but how do I specify that i want the application to have Write permissions on this folder?
Do I have to manually edit the source manifest each time, or can I set it...
we are working in a small team. We often had problems like developer1 did some changes in stored procedure or funtion and it affected work of developer2. Such issues are traced out by chance later. Please guide me how such issues can be stopped. Is there a free tool that we can run to test such issues.
thanks
...
How can one create a captcha application as a field in the form say registration form...?
...
Can anybody tell me please that how can we use the enableviewstate property of textbox in asp.net.
By making it false or true how can we feel a difference in result.
...
I have GridView bound to some List. In layout I created following template field:
<asp:TemplateField HeaderText="Phrase">
<ItemTemplate>
<asp:TextBox ID="phraseTextBox" runat="server" Text='<%# Bind("Phrase") %>'/>
</ItemTemplate>
</asp:TemplateField>
But after changing the content of any TextBox in column "Phrase" my ...
Hi
How we can filter the results according with the input of of a textbox like Google search.
i.e, If i enter "alaska airlines", then it filtered and showed result according with our input. How it possible. Please help me. thanks in advnce..
...
When I edit single recored in page, I use checkbox to get a selected row not every row with an actionlink element, but it seemed I cant make this way happen through calling javascript code (function GetSelectedRow() should return an id). Could anyone have a nice idea?
<head runat="server">
<title>Index</title>
<script type="text...
Hi All,
I'm creating a WPF application, for which all users must be authenticated to an Active Directory.
- Clientside, i'm using Client Application Services.
- Server-side, i have an asp.net web application with a AspNetActiveDirectoryMembershipProvider.
All is working as expected.
There's one catch however.
Some of the wpf applicati...
Hi;
asp.net code
this code in gridview
<asp:CheckBox ID='<%# "CheckBox".Concat(Container.DataItemIndex) %>' runat="server" />
my code is not work. how to make ?
i want to
<asp:CheckBox ID="CheckBox1" runat="server" />
<asp:CheckBox ID="CheckBox2" runat="server" />
<asp:CheckBox ID="CheckBox3" runat="server" />
...