Hi,
Can someone tell me how i can change the .xml file that a flash movie loads using c#. ie: i would like an ActionScript variable that defines the location of the flash movie. I would like to be able to change this variable using c# if possible.
i dont really know how it would look, but something like:
<object xmlpath='" + myCSharp...
I have the following javascript:
$.ajax({
type: "POST",
dataType: "json",
url: "/Home/Submit",
data: { email: strEmail, message: strMessage },
success: function(result)
{
//alert('here');
alert(result.message);
},
error: function(error) {
...
A general architecture question in Sitecore 6...
Let’s say we have a situation where we have 10,000 items implementing a “Press Release” template. These items are stored in Sitecore at */sitecore/content/home/press/**. On our homepage, we’d like to display some information concerning the 3 most recent press releases.
We’re looking to c...
I was watching a tutorial on Rails and was very impressed that you could so easily create an editing system for a class just by defining it.
Can this be done in ASP.NET?
I know there are ORMs out there, but do they come with an editing system?
To explain what I mean by an editing system, consider a class for defining people
class Per...
hey guys
Due to legacy issues I have two folders under App_Code directory. One for VB.Net and another for C#. Problem is, I have a service in the C# folder that needs to leverage a class in the VB.Net folder but they dont seem to know about each other. Any ideas are welcome :)
Thanks in advance!
Trev
...
What's the best way to get a nice clean URL structure like stack overflow has?
Do I need to use IIS for this? Or is there a way I can do it with some sort of mapping file in asp .net?
The site I want this for has hundreds of pages, and is already deployed.
I would like a method that requires the least amount of changes possible.
Not...
One of the project teams in my company is using Infragistics ASP.Net Grid control. I've been brought in to troubleshoot performance issues.
What I found is:
The Infragistics ASP.Net Grid control generates insane amount of viewstate. Disabling viewstate renders the control near unusable. I'm thinking of proposing that they go ahead an...
I have seen a few different in-process SQL databases for .NET (including one from Microsoft), but either they do not work under medium trust (ASP.NET) or the documentation/websites don't even talk about.
What experiences have you had with in-process databases in general, and do you know of any that work under medium trust for ASP.NET?
...
What I'd like to accomplish is to present charts on webpages. For example aspx pages gridviews that present a two column table are able to be copied & placed into Excel then a chart created. The pages I currently use most are ASP.NET 3.0 or SharePoint team sites with stored procedures. People are very interested in how people perform cha...
I plan to use MS SQL Server 2005 application roles in my application. I will start the role by executing the *sp_setapprole* and finish by executing the *sp_unsetapprole* SPs. The application is implemented in ASP.NET.
I've read that connection pooling doesn't work with application pooling and there is no way to react on connection disc...
Yes that sounds backwards. I want to create an area or frame in my Silverlight app to host another page from my site. I've seen it done before but I can't seem to find any examples.
This way I can control the entire page layout using SL but still use existing aspx pages.
thanks
...
I have a button that adds an already defined usercontrol programtically. I am rebuilding each control on Postback and they show up fine. If I put text in the textbox it shows up fine, however my images are losing their url. Any idea why or how I can fix this?
I tried adding AJAX updatepanel to see if that would help, but it does not.
...
I have a ASP.NET GridView with a column mapped to a boolean. I want do display Yes/No instead of True/False. Well actually I want Ja/Nej (in danish).
Is this possible?
<asp:gridview id="GridView1" runat="server" autogeneratecolumns="false">
<columns>
...
<asp:boundfield headertext="Active" datafield="Active" datafo...
I'm new to .Net and do not understand the difference. Can someone point me in the right direction?
...
I'm doing a custom 404 page for a large website that's undergoing a redesign. There are about 40 high-use pages that customers may have bookmarked, and our new site structure will break these bookmarks.
On my custom 404 page, I want to alert them to the new URL if they attempt to navigate to one of these high-use pages via its old UR...
I have a button on an ASP.Net page that will call Response.Redirect back to the same page after performing some processing in order to re-display the results of a query. However, for some reason, the page comes up blank. It seems that IsPostBack is returning true after the redirect. Anybody know why this would happen?
The page is a cust...
I am new to the world of ASP.NET and SQL server, so please pardon my ignorance ...
If I have a data structure in C# (for e.g. let's just say, a vector that stores some strings), is it possible to store the contents of the vector as is in SQL table? I want to do this so that it fast to convert that data back into vector form as fast as p...
Usercontrol with button - When uc is added dynamically to another page I loose the button handler.
ie: I have 1 usercontrol with 1 button - the button has an event handler in the code behind. When i add the UserControl to a page programatically the button handler does not fire. Any idea of an easy way to fix this.
Typically when ive ...
I'm building an ASP.Net MVC website. Rather than have everything in one project, I've decided to separate the Web, Model and Controller out into different projects in the same solution, that reference eachother.
The referencing goes like this:
Web ---[references]---> Controller ---[references]---> Model
Now I wanted to add 2 custom me...
What kind of collection I should use to convert NameValue collection to be bindable to GridView?
When doing directly it didn't work.
Code in aspx.cs
private void BindList(NameValueCollection nvpList)
{
resultGV.DataSource = list;
resultGV.DataBind();
}
Code in aspx
<asp:GridView ID="resultGV" runat="server" AutoGener...