For the follwing webpart attribute within PropertyEditorPart, is there any way to validate value entered by user?
[Personalizable(true),
WebBrowsable(true),
WebDisplayName("To Date: "),
WebDescription("Please enter To Date value.")]
public string ToDate
{
get { return toDate; }
set { toDate = value; }
}
This value rendered to ...
Hi,
I'm currently trying to deploy a Silverlight app with a RIA services link to a Web Application Project. This app also uses Devart dotConnect for Oracle (an EF system for oracle).
When running MSBuild on the csproj file I am getting the error:
C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(26...
When a 'Update' is clicked the row shows the Edititem mode.
I have a check box that when it is 'clicked' I want the other fields to dissapear/become read-only.
How can this be done client or server side?
My best guess is for server side I have something like this below.. but then in the event how do I get access to those items in ed...
Hi,
I have a website which currently uses EN-US and I also have resource file for french. what code should I need to write to make the application use the french version of the resource file.
The site is a commerce server and share point site that uses .NET
Any code examples would be great.
...
I apologize in advance for what is probably a simply question, but I suck at regular expressions and I did not find my answer via Google...
My Question is as follows:
Using ASP.NET syntax for the RegularExpressionValidator control, how do you specify restriction of two consecutive characters, say character 'x'?
Thanks in advance...
...
Hi All,
I have a DataboundField in a grid. I'm trying to display a date in Euro format and the time. The time should be wrapped in a span with a css class applied to it.
I am using this, DataFormatString="{0:dd/MM/yyyy <\span cla\s\s='tinyDate'>hh:mm:ss</\span>}"
It's actually pretty close, except the span tag is literally rendering i...
Requirements:
Raw XML is from external website I have little control via URL (eg. http://example.com/raw.xml)
I need to transform it via XSL into another XML file (I already have this XSL file written and it works)
I need to write an asp.net or asp file that takes the url, applies the xsl transform, and outputs the resultant xml that p...
I have a table being generated in an ASP.net web app. The table has 4 columns. Currently each cell of each row can be clicked to get more detailed info. However, I do not want the first and the last cell in each row to be clickable. How can I make it so that only the first second and third cell can be clicked?
Below is some of the code ...
Possible Duplicate:
ConnectionString For Getting An Excel File Problem
hi my Dear Friends :
in have an Excel File Named (a.xlsx) in A Folder Named (ExcelFiles).
ExcelFiles Foldre Is in the root Of project.
so my connctionstring for getting excel file data is like this :
<add name="xlsx" connectionString="Provider=Microsof...
Hello Friends,
I want to Implement Logging future using log4net for my asp.net mvc application..
Can any body has the Sample project so that I can take a look? and where do i need to find out the dll's for log4net?
Thanks
I Used this link to implement Loging for my application
http://www.codeproject.com/KB/aspnet/log4net.aspx
How do...
On my page, whenever a DetailsView is updated, I must audit the changes into a database. On most pages this works perfect, as there were just textboxes - however on a page I am working on right now, with dropdownlists, my code isn't working.
Basically, what the code does is captures the Updating event of the SqlDataSource, creates a dat...
I have derived my own class ControlStateDropDownList which extends DropDownList. As its name suggests, its purpose is to use the ControlState instead of the ViewState to store the SelectedIndex. AutoPostBack is set to true.
This is a requirement because this derived DropDownList needs to be inside an ASPxGridView column, and the ASPxGri...
hi my Dear Friends :
in have an Excel File Named (a.xlsx) in A Folder Named (ExcelFiles).
the ExcelFiles Folder Is located in the root Of my project.
so my connection string for getting excel file data is like this :
<add name="xlsx" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=aaa\ExcelFiles\a.xlsx;Extended Proper...
Hi,
Found this interesting interview question:
You need to display the sales data for your division for the past 5 years in a DataGrid on a Web Form. Performance is very important. What would be the best strategy to use in retrieving the data?
a)Use a DataReader object to retrieve
the data for the DataGrid.
b)Use a DataSet object to ...
i use this code to create thumbnails
System.Drawing.Image.GetThumbnailImageAbort abort = new System.Drawing.Image.GetThumbnailImageAbort(this.ThumbnailCallback);
System.Drawing.Image image2 = image.GetThumbnailImage((int)Math.Round((double)wid / difference), (int)Math.Round((double)hei / difference), abort, IntPtr.Zero);
image2.Save(str...
I am trying to estimate how long it will take to migrate a Classic ASP application to .NET and came across hundreds of COM functions written in VB 6.
A majority of these functions only do parameter validation and actually calls the SQL server. Is this something that should be replace with an ORM? (Linq, nHibernate, Entity Framework)......
I currently have a IHTTPModule set up to handle all 404 and 500 errors. It is working on aspx pages, and items set up on those pages, but not on any other extensions. I have changed IIS to use aspnet_asapi.dll as the wildcard. Is there any way to route all traffic, even image and plain text, through the .net handlers so that 404's and...
I'm tryng to get data using PHP's cUrl extension. The page runs ASP. I do two cUrl requests, the first one to get Models, and the second one to get the Model Age. I don't know why, but __EVENTVALIDATION is the same in both requests. I'm posting the following data:
Array
(
[ScriptManager1] => UdtMarca|ddlMarca
[ddlAnoValor] => 0
...
Greetings,
I have a class (let's call it Car) that has a property of type System.Drawing.Color (Call it CarColor). I have a script service function that uses this Car class as a return value, which works just fine. I then have another script service function that takes a Car object as a parameter. I would like to change the color of ...
Hi!
I'm populating a Repeater Control dynamically based on a querystring value.
On Page_Load, the page executes a function that gets info from the database and loads it into a DataSet is then used to populate the repeater.
The issue is that directly after truncating the table, it still appears to be returning a row...
Here's my code:
...