Hello,
I'm using .NET and I'm able to geolocate user city by IP.
I was wondering is there easy way to get user timezone by long. and lang. or city name.
Thank You
Hi,
In .NET is it possible to get the HttpContext of the current page from within an external class?
So, for example in my page test1.aspx codebehind I've got:
Dim blah As New FeedWriter()
blah.Run()
But inside FeedWriter.vb, can I get the HttpContext of test1.aspx? Or would I have to pass it in to Run()? (I'm unwilling to do the latter because FeedWriter implements an interface which will need to be re-written if it's to take arguments)
Cheers,
Matt
I have added fckeditor in my asp.net(vb) web site but i don't know how add pages to update at run time?
1) How to add .aspx pages in fckeditor so that i can edit an create new pages or tabs.
Hi,
I'm big fan of the MVVM pattern, in particular while using the ASP.NET MVC Framework (in this case v2 preview 2).
But I'm curious if anyone knows how to use it when doing file uploads?
public class MyViewModel
{
public WhatTypeShouldThisBe MyFileUpload { get; set; }
}
does anyone know how to use jquery modal dialog in asp.net pages?
http://jqueryui.com/demos/dialog/
I've tried creating a simple aspx page, pasted code from the example (http://jqueryui.com/demos/dialog/), it almost works. The dialog briefly shows up and then disappears. It seems that the page is doing a postback. I'm not sure how to stop it, so that the modal dialog stays up.
Is there an effective way to strip off all namespaces from an XML document in .NET? In the past I tried using regular expressions but that missed too many cases so now I'm looking for something more programatic.
I need help converting a VB.NET handles statement to C#. This is the VB
Private Sub ReceiveMessage(ByVal rr As RemoteRequest) Handles AppServer.ReceiveRequest
'Some code in here
End Sub
I am developing a website in ASP.NET MVC using C#. It works fine on my machine, however when I load it to the production server it generates an error trying to present the home page.
The error is caused by the fact that the ASP system is compiling the .ascx pages using Visual Basic, which, of course, does not work since all of the code is in C#.
How do I fix this?
Greetings,
in my ASP.NET MVC application I've created a custom MembershipProvider. It works fine, however when user is successfully logged, I would like to create an Operator object and make it possible to access this object on every controller and view. I was thinking about session to do this but when session expires this object is null but user that had been logged using MembershipProvider is still logged in. Is there any way I can store my Operator object in MembershipProvider and access it on every controller and view I need?
Hi Guys,
I code in C# (ASP.NET) and am using Forms authentication.
I would like to know which is the best method to change a user password without using the asp:ChangePassword control.
I dont want to use the reset password method.
I just want to grab the password i have inside my textbox and replace it with my older password.
Please note that the PasswordFormat I use is passwordFormat="Hashed"
Some code snippets would be helpful
Regards,
Naveen Jose
I've seen some discussion on why c# does not implement multiple inheritance but very little as to why it isn't supported in vb. I understand that both c# and vb are compiled down to intermediary language and so they both need to share similar restrictions.
The lack of multiple inheritance in VB seems to have been given as one reason for the lack of the feature in dot net. Does anyone know why VB doesn't support multiple inheritance? I'm hoping for a bit of history lesson and discussion on why this was never considered for VB.
Consider , I make configuration setting (like membership provider) DB Connnection,etc in
"machine.config", and remove the "web.config" file from my current application ,will my application work without giving any trobule?Is it accepted practice in .NET?
I have a Linq to SQL data model that uses single table inheritance.
I created a new ASP.net Dynamic Data web site with all table scaffolding enabled, but I can't see any of the derived classes in my data model being scaffolded.
Is this by design?
Hello
I am wondering how agile (fast to develop yet stable) asp.net MVC compared to frameworks using dynamic languages such as Django or Ruby on Rails.
I will be happy if you share you experiance in the name of development speed (assuming each language/framework is known at a similar level)
Things I love about Django
Fast model design thanks to ORM
Good template system
Not too hard to deploy
Easy to extend
Lots of free apps to plugin and great documentation
Thanks
What is the best way to support multiple languages for the interface in an ASP.NET MVC application. I've seen people use resource files for other applications. Is this still the best way?
Hi there,
I am currently building a webshop for my own where I want to increment the product-stock when the user fails to complete payment within 10 minutes after the customer placed the order. I want to gather information from this thread to make a design decision.
I am using SQL Server 2008 and ASP.NET 3.5. Should I use a SQL Server Job who intervals check the orders which are not payed yet or are there better solutions to do this.
Thanks in advance!
Martijn
Hi folks!
I'm looking for a .NET image processing component or an open source alternative to automate the following tasks:
Photo capture (webcams and photo cameras)
Photo printing (grid/strip modes)
Applying photo effects
Saving photos
AtalaSoft DotImage is quite expensive, any other suggestions are welcome.
Thanks J
I would like to use WebSockets in my Windows Forms or WPF-application. Is there a .NET-control that is supporting WebSockets implemented yet? Or is there any open source project started about it?
An open source solution for a Java Client supporting WebSockets could also help me.
Hi,
Is it possible to create a new thread in asp.net to do some processing, and then upon completion, set a flag so that when the user requests the next page, I can insert some extra text or code to perform some notification? Or if it is possible to send some text to the browser after the request has completed?
For example jGrowl would be great to have a notification after some processing has been performed.
Thanks
I have a GridView in my ASP.NET application that takes data to be rendered from EntityDataSource. GridView allows user to select rows. I want to get the entity that corresponds to the row user selected. I can get from GridView the ID(primary key) of the entity that corresponds to the row selected. How can I get the Entity that has that ID(primary key) ?
In .NET WinForms I want to display message in a status bar and suspend the program execution until user moves mouse or presses keyboard. How can I do that?
I'm a total beginner when it comes to computer languages, and was asked for a code to write .NET with assembler x86, and i'm stuck here at the moment.
Any basic code lines would work, still couldn't find any on the web.
Have anyone seen or tried Wordpress.NET?
I read an article about it before, but it is now nowhere to be found.
Any similar open source where I could get one?