When we try to pass to the Save function a path beginning with 2 slashes (eg. "//servername/folder1/..."), the thread gets stuck, we're thrown out of session, and it doesn't save the file
...
Hi,
I'm working on a asp.net page and I have the following scenario:
I have 2 fields that have requiredfieldvalidators which need to "fire" their validation when button1 is clicked but NOT when button2 is clicked and another field which is validated by another requiredfieldvalidator with the opposite scenario. (requiredfieldvalidator f...
Hello,
I published a web application to one of app servers. Now, if I am connected within my company network (no login require), I can access the web site no problem. Now, if I am connected from outside of the network over VPN, I can't access the website (Getting page not found appears). Do I need to configure IIS on the app server f...
Some weeks ago I've asked a question regarding best practice on how to secure a Business Layer.
In the meantime I have something based on PrincipalPermission and some custom code for specifics checks. But I'm still not really happy about that solution and struggling how to make it better.
What I'm still trying to achieve:
Ensure that...
I'm getting a 400 bad request error from Facebook when requesting an access token. My return_uri includes a query string parameter which is causing the problem. I've encoded the return_uri but I stil get the error. Can anyone help me with this?
Here is the request I'm sending to Facebook:
"https://graph.facebook.com/oauth/access_token?...
Hello Everybody,
I have an horizontal menu in asp.net application.
in my menu there is a link:Account link(like the the one in facebook link:account).
When i click the account link ,a menu toggles(sessting,...) i have a div in the content div for ads(exactly like in facebook).The problem is that when i toggle the links become unclick...
I have a tag element in .aspx page:
<a id="loginLink" runat="server" class="loginLink" href="#" onclick="$('registerform').hide(); $('signin').show(); this.style.display='none'; $('back').show(); $('reg-signin-email').focus(); return false">Already signed up? Log in here</a>
and trying to get loginLink.ClientID , but it spits back ...
I need to convert .NET data to XML types and viceversa and I wonder if there is any class already on the .NET framework to do it.
UPDATE
I want to perform a data type conversion.
...
Guys apologize me if the question is less organized and less clear. I am in hurry :(
My web app has payment form that need to be submitted to another ASP.NET page (lets call it http://vendor.com/getpay.aspx)
residing on another server.
That page will do some mumbo-jumbo works and then redirects it to the acutal
payment gateway site.
...
Good Day!
i have a dot net website made in VS 2008. The website works fine on my local computer, it deletes files from a folder but when i updated it on the webserver it wont delete. the webserver guy says that i have to built the application in medium level, but i dont understand the concept about trust levels. i have tried to Google i...
I'm writing an ASP.NET page and trying to get validation working. My problem is that I've got a repeater that contains several custom grid controls, each of which has validators and a validation summary.
At first, I didn't assign any validation groups, but this ended up making validation summaries appear for every grid whenever there w...
Hello
A web site was developed and deployed to client. In some cases, I need to set the flag HttpCookie.HttpOnly = true. Okay - I have done it. Next question:
Is Cookie available after setting flag in JavaScript?
or maybe some restriction when I am using JavaScript?
or do I need to make some changes in existing JavaScript?
...
Hi,
I am new to asp.net & IIS. Now I am deploying a web site with wcf service to IIS. The WCF service needs windows authentication, so i have used impersonate attribute in web.config.
But everytime I change my password, the web page is not served and it throws error. I think it is basic, but I donno.
How I can fix this permanently? ...
I have a very simple view-model in a dll that I want to keep separated from the main web mvc project.
I am decorating the model with metadata attributes that will help the ui display the correct presentation (DisplayName, UIHint, DataType, ReadOnly etc) and I would like to reuse this information with different presentation layers later ...
Hi,
I have the following HtmlHelper method that I want to create a button that does a redirect with JavaScript:
public static string JavaScriptButton(this HtmlHelper helper, string value,
string action, string controller, object routeValues = null, object htmlAttributes = null)
{
var a = (new UrlHelper(helpe...
I am working on a railway web application and I have following layers:
ASP.NET MVC 2 (Presentation Layer)
Services Layer
Repository Layer
Database & External Web Services as data sources (Using Entity Framework for Database)
I pass Domain Entity Objects from Repository to Service layer and thinking of passing View Models from Service ...
I'm wondering how I could update the querystring of my URL each time I hit the Next button of a Wizard control in order to show the ActiveStepIndex.
Example:
http ://ApplicationName/Default.aspx?Step=1
http ://ApplicationName/Default.aspx?Step=2
http ://ApplicationName/Default.aspx?Step=3
...
...
Two things:
A) Is it possible to set the Page.IsValid (Is_Valid) property through Jquery so that I dont have to use the aspx validators? It is my understanding that the IsValid property is read-only?
B) When the validators are in, is it possible to find out, through Jquery (ofcourse) which controls caused the validation to fail? An exa...
I have a simple ASP.NET page that uses the VLC media player to play a video in IE. I also have four buttons to control the playback:
Play, Pause, Stop, and Mute
The four buttons call JavaScript functions that access the ActiveX control. When I click on any of the buttons, I get the following error in the JavaScript function:
"...
I have a Gridview which displays the filenames in the database.
I have written code for deleting filename entry from database, but I also want to delete it from the directory, so how do I retrieve filename from Gridview ?
I don't want to execute another select command for retrieving filename.
Code :
protected void GridView1_RowDe...