asp.net-3.5

ASP.NET 3.5 + System.Web.Routing

I have downloaded sample from here (Demo)but when i deploy it on my Godady server it gives me error Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the...

open jquery popup from code behind

Hi, Please can someone tell me how i can call a jquery popup window from code behind in asp.net3.0? I have already downloaded a plugin that opens an IFrame as a popup, but I need to pass a string value in the url of the IFrame and that string value is constructed at the code behind on click of the same button from which the popup will ...

Converting a a line into an APP_Code

Can some please help me convert the line number 1 into an APP_Code for ASP.NET 3.5 LINE 1. RouteData RouteDatax = HttpContext.Current.Items["RouteData"] as System.Web.Routing.RouteData; I have tried convert the above code like below but it didn't work. public static class RouteDatax{ RouteData RouteDatax = HttpContext.Current.Items[...

Aspx grid view FileUpload

Bllow is my AspxGridview syntax <dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" KeyFieldName="Menu_ID" OnCellEditorInitialize="ASPxGridView1_CellEditorInitialize" OnCustomUnboundColumnData="ASPxGridView1_CustomUnboundColumnData"> <Columns> <dx:Gri...

working around ASP.NET 3.5 control ID generation: Postback events when the controls are created in a different order on subsequent postbacks

I'm working on a commenting system for a website and on each postback a page generates a user control (called ucComment) for every single comment in the database that pertains to this page. Each ucComment has a Respond button that allows you to respond to each individual comment. I was having a problem with the Respond button not doing...

Why not message show

My Project have master page .On my content page i write the bellow syntax <dx:ASPxPopupControl ID="ASPxPopupControlUserRole" runat="server" CloseAction="CloseButton" EnableClientSideAPI="True" HeaderText="Confirmation" Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" ShowCloseButton="Tru...

how to use javascript on AspxGridview

<dx:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" ClientInstanceName="ASPxGridView1"> <Columns> <dx:GridViewCommandColumn VisibleIndex="0"> <EditButton Visible="True"> </EditButton> <NewButton Visible="True"> </NewBut...

UrlRewriter.Net with URL with final dot

I want to use UrlRewriter.Net as described in this blog by ScottGu. In the example below, page.aspx should display a page text stored in the database based on the title= URL parameter. After a couple of tweaks the only remaining issue seems to be that a final dot in the URL causes a 404 a sequence of two dots in the URL causes a 400...

Multiple Updates per row from Gridview Edit

I want to set up a gridview that will display data like this WeekEndingDate Project Category Sun Mon Tues Wed Thu Fri Sat 8/14/2010 proj1 test 2 1 2 3 2 1 0 8/21/2010 proj1 test 0 2 2 2 2 1 0 8/28/2010 proj1 test 0 1 2 0 0 0 0 and that allows editing. Is it ...

Is there any reason to use this Regex method over String.IsNullOrEmpty()?

I have a method called isStringOnlyWhitespace(): public static bool isStringOnlyWhitespace(string toEval) { string stringNoWhitespace = Regex.Replace(toEval, @"\s", ""); if (stringNoWhitespace.Length > 0) return false; else return true; } Is there any reason to use this method to check for blank/null strings over String.Is...

Port Delphi.NET (ASP.NET 1.1) Project to ASP.NET 3.5 using C# in Visual Studio

Hi, i have an ASP.NET project written in Delphi.NET with Borland Studio 2006. Well it seems that the .NET Version is 1.1 and i need to port it to 3.5. My problem is that the project is a .bdsgroup and .groupproj. To make my work comfortable, i'd like to get a solution file .sln. What's the best way to this? (im not really sure i'm doing...

How to track & store email replies?

Currently on our system, when a user contacts us, we reply via our admin panel. The user is then sent an email containing our message and the other messages in the conversation. Then the user has to click on 'Reply to this message' which opens up our website, with a contact enquiry form, and submits the message to the conversation (usin...

LINQ Query - Complicated Self Join Problems

So I have Projects (for this example say they are a Name and an ID). I also have a table called SubProjects, like this: MasterProjectID SubProjectID 1 2 1 3 4 5 4 6 4 7 A master cannot be a sub of another master. I want to retu...

Not every dynamic MenuItem is processed, why?

Hi guys. On a masterpage I have ASP Menu control. It looks like this: <asp:Menu ID="mnuMainMenu" runat="server" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="Medium" ForeColor="#7C6F57" Orientation="Horizontal" StaticSubMenuIndent="10px" Font-Bold="True" F...

How do I integrate VoIP in my asp.net website?

How can I integrate Voice over IP into my asp.net website so that user's can speak to each other through the site? Thanks! ...

Does upgrading a WCF service from .NET 3.5 to 4.0 change the contract?

If I upgrade a WCF Web Service from .NET 3.5 to 4.0, making no other changes, is there any risk of a change to the contract exposed to the outside world? ie. Will my consumers need to reconsume the WSDL? If so, is there anything I can do to stop that happening? EDIT: An example of the kind of thing I'm talking about. We have been usi...

Clear Cache of a Compiled ASP.NET website?

Hi, I have various caches on my compiled website. However, I need to clear all these caches. Is there a way of doing this (without having to restart the server!)? Thanks! Curt ...

Asp.net - Upload a File from Client to Server without using Browse Button

Hi Guys...can we able to upload a file without browse button..i.e. the user will enter the path in a textbox and when upload button is clicked the file from the entered path should be upload to the server.... ...

Asp.net image control

I have a web page that will display an image (ie a logo). I am using the following code but the image is not being displayed in the image control. Image1.ImageUrl = "C:\logo.jpg". is there any way to display that image? ...

Upload all files from a folder from local to Server in asp.net 3.5

Hi Guys i am using the below code to do upload all files from a folder here it is working in my local machine but when i upload from server it shows error.... Dim ServerFileName As String If file1.PostedFile.FileName <> "" Then Dim fileList As New ArrayList() Dim dirNameWithPath As String = Path.GetDirectoryName(fi...