Hi,
I'm looking to create a webpage that will reflect the status of one of my company's servers automatically. Frequently there will be a minor error that only lasts 2-3 minutes, and it would be great to have this reflected on a self-generated page, which might prevent 50-60 unhappy clients from calling in simultaneously and asking what...
Hi. I have maybe very very Simple Question:
Where i can find documentation about expressions and syntax of WebForms view engine?
And what is the difference between
<%: expression %>
and
<%= expression %>
?
in advance thanks for reply
...
I'll soon be managing a fleet of ASP.NET webservers...
What are the technical limitations with deploying an ASP.NET webserver? Can I just copy the file(s) over, restart the website, and I'm good to go?
Is this any different than what VS2010's "deploy" does?
Does it matter what "type" of project I have: a Web Site or a Web Applicati...
Hi,
How can I create a CustomValidator on Client Side for validating my file path from FileUpload?
Thanks
...
I have run into a difficult situation.
I do not want to do my development based on an emulator, so I want to be able to have my phone (Android), to connect to my local PC to make sure what I am developing comes out the way I want it to.
Issue #1 - I need to be able to connect to my network, not internet, I can't have my PC internet fac...
So our connection string is constructed from app settings rather than stored as an actual connection string. Stupid I know, was done years before I was here.
Question is, can I do something in the web.config or in IIS itself to define the processes default connection pool from a configuration standpoint so I don't have to change the cod...
Does anyone know how to get a csv url file and convert it to a json object so that I can use google charting tools in js?
...
I've been working through a fantastic book (Pro ASP.net MVC 2 Framework, Steven Sanderson) and I am looking for clarification. In the book's e-commerce sample application uses linqTOsql and has just one table to hold product entries. Obviously, real world applications have many many tables. I am wondering if there is a separate reposit...
Since we can't post data to cross domains, I want to post the data to my aspx page and a code-behind code will take the data and submit to cross domain (which is not being operated by me, so I don't have permission to modify source code for jsonp) and also the website to which I pass my post data is also returning a cookie which includes...
Hi
I have implemented a URL rewriting(extensionless) using Intelligencia.UrlRewriter, it works perfectly on my PC but on the server I am getting the
following error
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.Sessio...
How would I send e-mail to any specified e-mail address in asp.net C#.
...
I wrote a code to recover passwrod in my website.The user enter his email address and we send a new password to him.In additcion,we also change his password in DB to newest password.
Problem:
If code for send mail fails,i cant change his password in DB,and if code to change password fails i cant send mail.
Take a look:
public bool Rec...
After getting pretty far along with a jQTouch web application for our website, my boss and I decided we may as well just make a true iPhone app instead of struggling with sloppy flickering animations and login authentication issues. We currently have a fully functional web site with some SOAP web services, but we are looking at rewriting...
So I was told the following would not be possible:
I have a aspx page that has a number of dropdowns. Each dropdown is set with either a class=leftcolumn or class=rightcolumn.
I need to assign an attribute:
propertyID.Attributes["nameOfAttribute"] = "false";
But instead of manually writing out each controlID and setting its attribu...
Greeting,
I have asp.net content page that has more than 30 asp.net controls.
all the control set with style="position:absolute"
I know it is not good practice for ASP.NET web page globalization using style="position:absolute.
Now is there a way to convert my current asp.net page layout to be fit with most of the internet browser.
I...
I am trying to go to a view with a speicifed batchId parameter wrapped in a ViewModel, pick a file to upload, get the uploaded file back and store the file data w/ the associated BatchId value in a database.
When the form is submitted I don't know how to get back the viewmodel and the PostedFileBase so that I can get the BatchId value.
...
I have an asp.net page and I'm trying to add a couple of hidden HTML input controls. I will be submitting this form to another site (PP) so I need the names of the controls to NOT change when rendered. Is there a way to make ASP.NET honor the name property that I set in the code-behind?
As an alternate, I don't need to dynamically creat...
I have this snippet in my html... Fusion Charts requires I feed it an XML to create a graph
<script type="text/javascript">
var myChart = new FusionCharts("/Content/Fusion_Charts/Charts/Column3D.swf", "myChartId", "470", "350", "0", "0");
myChart.setDataURL("/XML/Graph/?list=<%=Model.list%>");
myChart.render("Gra...
Hello,
I have the following code in my aspx code-behind and it works fine. Because I am going to use it on more than one page, I'd like to move it to a class file. I am not sure how to do this properly.
#region autocomplete search
[WebMethodAttribute(), ScriptMethodAttribute()]
public static string[] GetCompletionList(string prefixTex...
I have a simple two field form that stores its data in the database, for some reason it isn't working. I have verified that the connection string works, as it is used in another project I made.
I didn't include the beginning of the first class or its page load.
Code:
protected void btnSubmit_Click(object sender, EventArgs e)
{
...