Hello
I'm trying to enable rewrited urls in my project.
it's very good described in this post: urlrewriting by scottgu
It works very well when im running it on localhost, but as soon as i upload it to my host (.net 3.5), it doesn't work! i always get redirected to a 404 page!
Is there a configuration needed to enable this?
as scottgu s...
I've scenario where I want to insert data into database without post back. there are around 12 to 13 fields which i need to insert. I'm passing DTO from the client side which is actually Json object. Now the problem which i'm facing is how to convert that Json object which i got in webservice to the "class" (in my case class name is User...
Hello everybody.
I send automated mails to hotmail users. (thank you for your registration bla bla)
Because plain text doesn't look attractive enough, I use HTML with images. The images reside on a public webserver.
As SMTP server I use the SMTP part of IIS 7.5 (windows 2008 R2). I have an SPF record setup in the DNS. I have also read ...
Hello,
What's the best technique to hide part of a view depending of the credentials of the user?
To explain my self little better and as example i have the following code in my view:
<%= this.Model.Name %> <%=Html.ActionLink("Edit",....)%>
And i would like to hide the edit button for those that aren't administrators for instance.....
Hello guys,
Does Ajax ModalPopupExtender has an option to create 3 buttons?? Yes, No and Cancel? for Asp.net, c#
I have been trying since few days. But i could not come up with a solution. I can just find OKControlID and CancelControlID.
<table id="pnlPopupMerchantUpdate" runat="server" style="display:none">
<tr>
...
Hi,
I am building a simple CMS with asp.net MVC and I have almost all the parts working. I have one minor issue which I can't work out how to solve. I have a Html helper method that renders the content of area. This method however uses the Response.Write to write its content rather than returning a string. The reason for this is that I'...
Hi,
I am trying to automate a few things in wordpress blog, using HttpWebrequest.
i have tried to get the login page "http://mywebsite.net/wp-admin"
and then try to post with login data on page "http://www.mywebsite.net/wp-login.php"
data = "log=admin&pwd=mypassword&wp-submit=Log+In&redirect_to=http%3A%2F%2Fmywebsite.net%2Fwp-admin%2...
i am new to web development and i am learning Asp.net .
i was the other day thinking and i came up with this question .
i searched the web but all the answers i found were old
so my question is , can silverlight4 replace Asp.net ??
I know this question sounds crazy . but let's think for moment
we use ASP.net to talk to a server.to ...
I'm running an Asp.NET MVC 2 app under IIS 6.
All pages are behind Windows Integrated Authentication except for some pages that accepts anonymous access.
We setup these pages in the web.config with the location element like this
<location path="MyPath/ToThePage">
<system.web>
<authorization>
<allow users="*"/>
</...
Is there any way to convert current aspx page on button click in to PDF without using third party tool?
...
I have added a partial class to one generated by the Entity Framework. I wanted to add a calculated field that I could bind to my GridView. However, when I try to access the new property, I get an error message that this is a limitation to Entity Framework.
Are there any work arounds to accomplish this?
...
Planning to start a small aggregator for a personal project, so far I have a few inquiries on gathering information for the site. I'm still clueless on where to begin. what kind of infrastructure do i need? where do i get the feeds and can I sort them out depending on the theme of the info requested?
any feedback is appreciated. thanks
...
So I am adding StaticTextField controls to a page. This is using ExtJS, but we use VB.NET methods to add ExtJS so we don't actually have to write it.
I tried using
.Style = "text-align:right"
But that isn't working, in fact it isn't doing anything. Here is the whole code of one of the controls:
With .AddColumns(2)
Wi...
I have 5 radio buttons and a link in my page. Everytime when the linkbutton is clicked, i want my radiobutton to be changed to other. I mean, when a link is clicked, radiobutton check has to move onto rd2 from rd1. Is that possible.
Below is my piece of code for link button and radiobutons.
protected void lnkAddLoc_Click(object sender,...
Hello all,
for example i have some list with 120 entries.
Threads = new List<Thread>();
and i will return to show in my view just 10 of them.
I have a properties like, TotalCount, TotalPages, PageSize=10, PageIndex.
How can I do that?
Take care,
Ragims
...
Hi,
i am trying to read file from a stream.
and i am using stream.read method to read the bytes. So the code goes like below
FileByteStream.Read(buffer, 0, outputMessage.FileByteStream.Length)
Now the above gives me error because the last parameter "outputMessage.FileByteStream.Length" returns a long type value but the method expec...
Hi,
I have a ReorderList from the Ajax Control Toolkit on an aspx page. What I want to do is to enable a button after the order of the items have been changed.
I already have the javascript function in my page in a script block, but how can I tell the ReorderList to call the javascript after order has been changed?
Thanks in advance!
...
Hi guys, I would like your opinions regarding "DataSet Designer" and DAL (Data Access Layer) best practices.
I use Visual Studio 2010 Framework .NEt 4.0.
For my understanding "DataSet Designer" allow me to create automatically strictly Typed-DataSet with DataTable and Adapter, this consist in DAL directly in Visual Studio 2010.
I would...
Hello all,
I know that there are a variety of similarly posed questions here on SO and I've had a look at the ones that are suggested as matches. However, none quite manage to solve the issue that I'm facing. Basically, I'd like to know if there's a way to 'subscribe' to an event at client level in order to have a small portion of the p...
I have a javascript function in the default.aspx page of my asp.net website project. I need to use that page in my myfolder/test1.aspx page. How can i refer to other page? without having to create a js file of my javascript page on default.aspx page...
...