hi everyone
i am trieng to create a batch task that will publish my site in release mode
but with no luck...
my script for doing so is this:
aspnet_compiler -errorstack -nologo -fixednames -v / -p "C:\projects\mysite\COMPONENTS\sitefolder" -f -u "C:\projects\publish-mysite"
my site has about 10 other projects in the solution. so i...
i have a asp:treeview inside asp:panel. The tree view has parent and child. when i press any character on keyboard the focus need to go to the corresponding parent or child. i tried a lot with googlilg. but i couldn't find any solution. Is there any way? Thanks in adv.
...
Best practice to throw the exception if no entry found in the db?
// CONTROLLER
public ActionResult Edit(int categoryId, int id)
{
Product target = Products.GetById(id);
if (target == null) throw new HttpException(404, "Product not found");
return View("Edit", target);
}
// REPOSITORY
public Product GetById(int id)
{
r...
Hi Geniuses
I got a complicated problem with ASP.Net 4.0 Ajax....I started a website with Visual Studio 2010 on my machine,and added some update panels they used to work fine,but suddenly i got that series of errors when i run my website
Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.
Micros...
hi my dear friends :
the below ASPX code is ok :
<asp:Label ID="lblShowInRPV1" runat="server"
Text="<%# Method() %>"></asp:Label>
is it possible to pass some parameters (from aspx code) to Method()?
in the other hand can u fix Below databinding for me ? (That Is Incorrect)
<asp:Label ID="lblShowInRPV1" runat="server"
...
I am looking for Jquery datepicker control like ajax calendar control with image button next to text box in asp.net.
If any examples available please share with me.
I saw this http://www.west-wind.com/weblog/posts/891888.aspx, but I donot custom control.
...
Hello, I am sort of new to the whole html and css scene! All I really want to do is have a background, the content placer in the middle, and a header. An example would be this:
http://img46.imageshack.us/img46/3751/38244782.png
Would someone please help me do something really simple like this? Thanks
...
Is there any C# code/classes/open-source/tools that is recommended for adaptive authentication?
Some functions of our app utilize a Captcha to avoid spamming or inappropriate behavior, which unfortunately also slows down our genuine users. I would like display the Captcha only if certain parameters look 'shady', such as unusual IP addre...
I have placed the following snippet within my tag. When I browse to the site with Internet Explorer IE I get the following syntax error.
I have tried placing within the body top, bottom etc. and I cannot avoid this syntax error. I have also tried putting in an empty page to ensure there wasn't any conflict with other js. I still hav...
Hello! Everyone!
this is my code
DropDownList1.Items.Add(new ListItem(" Prueba1"));
DropDownList2.Items.Add(new ListItem(" Prueba1"));
//string[] filePaths = Directory.GetFiles(@"\\hmfsw\web\DTCWIN107\MYSITE.com\public_html\post\");
// Make a reference to a directory.
DirectoryInfo di = new Direct...
Hello. I need to package my ASP.NET Silverlight web site to a single MSI file.
But when creating web setup project, it can't install on iis version greater than 6. On greater versions it only installs when 'IIS 6 compatibility mode' is enabled on server. How can i make my setup project, so it installs correctly?
PS I don't have admin ri...
Is HttpRuntime Cache unique for each user in ASP.NET as well as the Sessions?
...
There are customers that want to customize to brand my product, while have me conitue to manage and maintain the site. I have seen people doing this by creating customer specific URIs, such as:
<customer1>.WebSite.com
<customer2>.WebSite.com
<customer3>.WebSite.com
...
Each customerX identifier is obviously used to loa...
Hi,
I have an ASP.NET web application and I'm thinking about the following: before sending any HTML or CSS content to users, I wish to 'compress' them, then cache the result and send that to the clients.
I know it is possible to compress these by removing whitespaces, comments and stuff like that, but I'm not really familiar with more ...
Hi,
I have a page that has two drop down lists on it and a button. All controls sit in an update panel. The first drop down list (ddl1) contains a lot of values which caused a huge viewstate so I disabled viewstate on it. In the page oninit event I populate the drop down list every time the page is posted back. This all seems to work ...
I'm using Visual Studio (VS) Professional Edition 2010 and IIS 7. I'd like to publish a wpf application for download from a website. But for some reason, when I go to Build > Publish in VS, select a publishing location, select that users will install the application from a website, and then try to browse to a URL on my machine, VS give...
Session in Application_AuthenticateRequest method in Global.asax is always null.Ive already try:
this.Session,HttpContext.Current.Session
always null.
protected void Application_AuthenticateRequest()
{
string userRole = string.Empty;
if (Request.IsAuthenticated)
{
if (this.Session["UserRole...
This is similar with the link below that has been solved.
http://stackoverflow.com/questions/2831142/asp-net-4-url-limitations-why-url-cannot-contain-any-3f-characters
The problem is we are still using .net framework 3.0. Does anyone know any alternative or similar equivalent of relaxedUrlToFileSystemMapping in .net 3.0?
...
I’m having a little problem with the popout icon in the ASP menu control not appearing when the sitemap node doesn’t have a URL. Take the following sitemap nodes as an example:
<siteMapNode title="Top 1" url="~/Top1.aspx">
<siteMapNode title="Sub 1" url="~/Sub1.aspx" />
</siteMapNode>
<siteMapNode title="Top 2">
<siteMapNode title="...
I'm developing an ASP.NET 3.5 web application using C# with AjaxToolkKit. I have a following question.
How can I put a collapsible panel inside GridView to make a master and detail list that expands to display the detail panel when view link in a row is clicked? This is something similar to the download list in MSDN page.
Thanks
...