Hi,
I'm looking for a decent file management control for ASP .Net that I can integrate into an existing website. The requirement is that the user should be able to upload / download documents of various file types as well as edit / delete them.
I've seen the Telerik FileExplorer and it looks ideal. However, I would like to determine wh...
I want to insert a space every 34 characters in a string
public string MySplit()
{
string SplitThis = "aaaaaaaaaaaa"; // assume that string has more than 34 chars
string[] array = new string[SplitThis .Length / 34];
for (int i = 1; i <= array.Length; i++)
{
SplitThis .Insert(i * 34, " ");
}
return SplitThis;
}
when I quickwatc...
I'd like to create a class library project where embed resources like js, css and maybe image files.
I would compile it and copy the dll into the bin folder of my web site to include the resources into my pages with GetWebResourceUrl.
I tried with an assembly that have no .cs files, but it doesn't seem to work, I can't see the namespace...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net to develop a simple web application. I want to add RSS feature to some of the pages of my web site, so that people could use their popular RSS reader to receive notification of content update.
Any easy way to do this in my development environment? I only need very...
Response To:
http://stackoverflow.com/questions/2144921/opening-popup-window-is-not-working-in-firefox-and-google-chrome
Hi,I have similar code in above question.My code works fine in IE.
this.parent.window.showModalDialog('Counter.aspx', '',
'dialogHeight:170px;dialogWidth:150px;status:no;scroll:no;edge:sunken;toolbar:0;center:on;hel...
How to prevent exe file upload in asp.net mvc.
...
I will be adding new pages and adding functionality to current pages.
I would basically like to use new technology and but I don't know how should I add it to classic ASP pages
In other words, can I <#--include--> an aspx page in Classic asp page? Or anything of that sort, may be creating a user control in ASP.NET and using it in class...
I have a string which has to be matching @"^[\w*\$][\w\s-\$]*((\d{1,})){0,1}$".
If it doesn't match this regex i want the characters that do not match to be deleted from the string. How can i set this up?
...
I have an ASP.NET3.5 (C#) ASPX page that is internationalized in 10 different languages.
The page is very complex in its structured with dozens of nested views driven by a state machine pattern.
EDIT: I am using the meta:resourcekey syntax in every asp control, which allows to use declarative syntax for Implicit Resource expressions.
...
Say, for example, you are caching data within your ASP.NET web app that isn't often updated. You have another process running outside of the app which ocassionally updates this data, when you do this you would like the cached data to be cleared immediately so that the next request picks up the new data straight away.
The caching service...
I use jquery facebox as delete confirmation box. When i do a delete it removes my record and i show the resultsdiv via javascript. But it always shows
Error: document.getElementById("ImageButtonDiv") is null
here is my code,
protected void Delete_Click(object sender, EventArgs e)
{
// my delete
ScriptManager.RegisterClientScri...
Hi
Our customer experienced multiple errors on a demonstration to a customer of theirs.
The site is asp.net 3.5 based and has been running pretty well lately. They said 2 hours later site was ok again... (needless to say they are not happy)
The traces in the health log look very weird, it appeared to be as if incomplete pages were re...
Hi,
I am trying to run a sample WCF ADO.Net Data Sertice on my IIS, which give me message
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure t...
I have a web service project with a Class having web method which works fine when browsed. I have hosted this web service on IIS 7.
The problem I'm facing is that when I use this URL as the value of ServiceMethod property of AutoCompleteExtender it doesn't work but when I add this Class file in my UI project and just give the Class name...
Hi,
I have a scenario in my application, by saving a text of length 20000 chars without line break in between.When i retrieve the same to an asp.net textbox control my UI is stretching to the length of these 2000 chars in a single line . I have to wrap the text automatically inside text box.
Can any one help to solve this issue ?
T...
In a DexEpress ASPxGridView I have a column that contains voltage. The original values look like 200, 1000, 120 but I am applying a scaling that transforms the values into 200 V, 1 kV and 120 V.
How do I sort the column based on the original values and not the string values?
(In a .Net datagrid I had 2 columns: one with the original da...
I have done an multiple upload with uplodify jquery, but when i check it in a system with no flash player installed a blank area is present in the region of the uplodify flash button,
how can i show the user some missing plug-in like in other sites to install latest flash player plug-in... or suggest some option to make upload possible...
I enable error log filtering within Elmah and want to do it programmatically in a ErrorLog_Filtering event handler. It works well under Visual Studio dev server but as soon as I go under IIS7 (local on my dev machine or remote on my web server), the handler is not called (error logging works well).
Here is my usual web.config:
<configu...
I know the differences between ASP and ASP.NET generally, as I am new to both, so I don't understand all of them, but I get the fact that ASP.NET is built on top of Microsofts .NET framework, and is the next generation of ASP, but it's built from the ground up.
W3Schools and another question here on SO provided great help explaining the...
Hi everybody
Lets say I have this code.
<asp:TextBox ID="TextBox1" runat="server" />
<asp:CustomValidator ID="CustomValidator1" runat="server"
ClientValidationFunction="ValidationFunction1"
ControlToValidate="TextBox1"
Display="Dynamic" />
And a validationFunction:
function ValidationFunction1(sender, args)
{
}
And i ...