|
There's tons of sample code, and a mailing list/forum, on the gmaps site.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
I have developed the website which connects sql server using windows authentication. It works fine in local. but when i deploy it in online it shows error while connecting with the sql. The error is "Login failed for user 'C60536-52290\IUSR_ADSTESTSERVER'".
When i search in google i found to change in IIS as "Disable anonymous access" . I have changed and gave apply it opens a windows as "Inheritance Overrides" The following child nodes also defines the values of the UNCPassword property whcih overrides the value you have just set.Please select from the list below those nodes which should use the new value. The list are sitemap.xml,ror.xml,generator/data.
Can any one help me to solve this problem
Thanks
|
|
|
|
|
Hi,
I have a webapplication(Ajax Enabled asp.net web application) in which i have only a plane Default.aspx file along with web.config.....and using setup and Deployment i have created an msi.. and i deployed it on the other system....and im able get the below error..
Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
By the way i have not written any code in the cs file....Please help me out...
While deploying(ie while creating msi) i kept my dll"s in bin folder and set the Execute permissions property of bin folder to vsdepScriptsAndExecutables...and added the project output(primary out put and content files)to the setup project..and after building the setup project i took the msi file and installed in other system and im able to get the above error...
|
|
|
|
|
do you install as admin ?
Why do you need an msi to install a web app ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Yes im installing as admin...
im creating as msi bcos it is going to use by the service person who is not aware of creating virtual directory stuff...please let is it not a better practice to create an msi for a web application...i guess but im not sure that i need to set something for my webapplication properties when it is dumped in inetmgr..ie under Default websites...
|
|
|
|
|
project output/primary in bin folder is not enough. Add the ajax files and it will work. That is what I am doing. Hope this helps.
|
|
|
|
|
ya i have added system.web.extensions and System.web.Extensions.Design and Ajaxcontroltoolkit.dll.....still it"s giving the same error...
|
|
|
|
|
Hi
I am developing a web application in ASP.Net 2.0
I have a web page for project registration in which I can add project details like Project code, name description,start date, end date etc. I want to include in this page the project members and roles.
I have added a table with 2 columns which contains combo boxes bounded to Project member table and roles table. Also a button to add new member. On click of the add button i create new row to the table with combo box controls bounded to project members and roles. But I cannot retrieve the selected values of the dynamically added controls.
Can any one please help me to solve this.
With kind regards,
Jimi
|
|
|
|
|
Dynamically created controls need to be created before page load in order for viewstate to populate. OR you need to use hidden controls to store the values you want.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
All these questions are asked almost daily. How about writing a ASP.NET FAQ article?
|
|
|
|
|
Like they would read it.....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks.
I got it solved using dynamic gridview.
|
|
|
|
|
|
This is the ASP.NET forum. ASP is so far out of date, it's not funny. No-one seriously uses it unless they have to. If you're stuck with it, my deepest sympathy, try the web dev forum. If you're not stuck, run for your life, buy an ASP.NET book.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all,
i need to get the text of a cell in a datagrid control, whose column Visible property is set to false (i dont want to display that column to the user: just contains a code number and eats space on the screen). This datagrid is data bounded to a ObjectDataSource control.
i try the following without success:
GridView_1.SelectedRow.Cells[0].Text
(on debug, i see the property Text as "")
is there a workaround to get the selected cell value without turning column's Visible property to true?
Thanks in advance.
|
|
|
|
|
if you set Visible property of the column to false, that column will not rendered. That is why you getting String.Empty when you query the cell value.
The work around is to use css to hide the column from the user. Now you can access the cell value the same way as you access the visible=true columns.
First define your css, example
<style type="text/css">
.columnHidden
{
display:none;
}
.columnVisible
{
display:block;
}
</style>
Now use the css to hide your columns
<asp:boundfield datafield="PID" itemstyle-cssclass="columnHidden" />
Yusuf
modified on Monday, March 2, 2009 6:13 PM
|
|
|
|
|
Hi Yusuf,
thanks a lot, very well explained.
|
|
|
|
|
Howdy,
I have had a web site running for some time now and I am constantly having issues with the statement User.IsInRole ("somegroup") returning a false value. It does not always happen but often the user is a memeber of the group which membership is being tested but the statement returns false. The application makes decisions based upon the return value and then the user does not have proper access to certain functionality within the site.
We normally have to stop and start the application pool on the iis server. Is there anything I am doing wrong?
thanks
Patrick
|
|
|
|
|
Hi,
I need to check the date changed, if changed i need to execute a snippet for first request after date change and for further requests another snippet executes.
How do i check the date is changed? and execute snippet for first request only?
Thanks in advance.
|
|
|
|
|
Look at Validation[^]
you can run your validation on the client side too. If you are looking only date changed events then look at this[^]
Yusuf
|
|
|
|
|
Hi Friends,
I am looking for the C# code to place one image on another image. My requirement is exactly like the following link.
http://photofunia.com/
When user browse and select his image, it has to be adjusted on another image. Please provide me if you have any sample code or if you know any third party controls and codes which provide these kind of functionality.
Thanks in Advance
Regards,
Malleswar
|
|
|
|
|
There is not a piece of code that does this. Perhaps there is a third party that makes it simple, but its pretty simple to do it from scratch without any extra controls.
Its actually a combination of 'photoshop' techniques and code. You do actually have to layer two photos on top of one another however in a rendered code page. You use the standard DIV tags and then layer them via the absolute positioning, setting the z-index of two tags to force one behind the other. The top most photo needs to be a GIF that has the sections 'cut out' and made transparent where you want the underlying photo to 'show through'. You will need a tool like Photoshop to accomplish this part (and its really the hardest part of it all). Its an old, and simple technique.
|
|
|
|
|
Thank you for the reply.
Please provide me some links where I can get sample codes or third party tools for this.
|
|
|
|
|
hi
Can any one let me know, i am using URL mapping in ASP.NET 3.5 i have made the following enteries in my web.config
<urlmappings enabled="true">
<add url="~/Widget/aspx" mappedurl="~/Products/W/Widgets.aspx">
but when the user is typing the URL it is showing 404 error? i am using IIS 5.1 on Windows XP. Kindly reply ASAP, thanks in adavance.
regards,
|
|
|
|
|
dont know what you are writing in Web config
<urlmappings enabled="true">
<add url="~/News.aspx" mappedurl="~/UrlMappingVB.aspx?category=news" />
</urlmappings>
|
|
|
|