I have a drop down list on my page. The onchange event of this dropdownlist calls a web service using javascript/jquery. The webservice returns data that populates ANOTHER drop down list. When I do this and try to submit my form I get an invalid postback or callback error.
I know why it is occurring but cannot figure out how to stop th...
I developed a simple ASP.NET website that uses Chilkatdotnet2 (version 9.0.8.0) to generate RSA Public/Private Key pair used for encryption. Below is the sample code
bool success;
string UnlockChilkatRSA = "XXXXXXXXXXXXXX";
int RSAKeyLength = 1024;
Chilkat.Rsa rsa = new Chilkat.Rsa();
success = ...
Hi there,
I'm using ASP.NET for a search app web site.
My search retrieves exactly one result per fetch. Once the search is complete and the user selects "Update", a new result is fetched and the old result is written to the ViewState as a generic List. The new result replaces the old one.
I am trying to get the page to update (via pa...
Possible Duplicate:
Disable browser's back button
How can I disable a browsers back button, in an asp.net mvc project. Can I use java script for this ? or is there any other ways to do this ?
...
hello, i noticed a problem by searching,
when i search for "myword" for example in textfiles (with lucene.net),
but when i search for "myword*" myword isn't found!
in the description of using wildcards it says:
Multiple character wildcard searches
looks for 0 or more characters.[...]
0 or more, but it doesn't work actually.
my...
Hello all,
I have all my text inside view coding. I preffer to save it in app_resources, because i would to add other languages in future, and its look quite cleaner.
I just know that I need to use metatags in my view for text to connect it with file app_resource. How to it correctly, could you show me some examples how it looks like ...
Hello all,
I am looking for some solution of the random user image.
I created some image and calling it from database if user has no image.
But i dont like it, it is quite ugly.
Is it exists some random image generator, like here in stackoverflow the the user has no photo.
Please help me!
Thanks and take care,
Ragims
...
I have been given a requirement to take an existing stand-alone web-form (i.e. uses postbacks) and throw it into a lightbox.
The standalone web-form already has save and cancel buttons that have predefined behaviors. For example, the Save button attempts to save the form, and either displays validation errors, or if the operation was ...
Hi All
I have a aspx page in which i create reports and charts on the fly. Creation of these charts and reports takes a lot of time because of which a blank screen is shown to the user until the creation completes.
Can you guys sugest ways by which i can unlink actual report and chart creation code from page load so that i can show a p...
I have problems connecting to my database server. The database server is not local, I am connected via its IP address.
It works fine in my development machine. After publishing the website to my server, it can not connect to my database server.
A network-related or instance-specific error occurred while establishing a connection t...
From a security stand point what are a couple major points that would aid in the result of using a .master file versus a .aspx file?
...
In a common ASP.NET Web Forms page, I specify the location of a backup file as follows:
string backupFilePath = "../data/backups";
ICronjobTask[] tasks = new ICronjobTask[]
{
new FileBackupCronjobTask(backupFilePath)
};
The ICronjobTask is executed later on. When calling the published page on my web server, an error message tells...
I've been able to use MvcContrib.TestHelper.WatiN to unit test textboxes and drop-downs, but have been unable to get it to work with radio buttons. I keep getting an exception stating that the HTML Element cannot be found, however, I've checked and the name is correct in the source. Does anyone know of an example using MvcContrib.TestH...
It has been so long since I have coded a page in VB. For the life of me I just cannot remember how to do this.
I have a GridView on an ASP page. Each row has a comment ImageButton. I already have the gridview and text box wrapped in a UpdatePanel. The gridview shows all of the correct information. I just need to add some code to populat...
I have an ASP.NET app using Ajaxpro and forms authentication. First I was having trouble trying to avoid passing the ajaxpro handlers through authorization, which was resolved when I included them on separate locations on the web.config:
<location path="ajaxpro/prototype.ashx">
<system.web>
<authorization>
...
Hi I have to create a windows service which Monitors a specified folder for new files and does someprocessing on it and moves it to other location.
I started with using FileSystem Watcher. But my boss doesn't like FileSystemWatcher and wants me to use polling on Timer or any other mechanism other than File System Watcher.
I am confus...
Depending on the case, I'd like to hide a databound control in a page. But no matter what I try, it seems like the control will try biding no matter what. I've tried setting Visible="false", but it would still try to bind. I've tried putting the control into a placeholder and then hide the placeholder, it will try to bind anyway. I've al...
var query_loc = (from at in db.amenities_types
join a in db.amenities on at.id equals a.amenities_type
join u in db.unitInfos on a.unit_id equals u.id
join l in db.locations on u.locations_id equals l.id
join o in db.organizations on l.organization_id eq...
I have a GridView in my page :
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" BackColor="White"
AutoGenerateColumns="False" EmptyDataText="No data available." BorderColor="#DEDFDE"
BorderStyle="None" BorderWidth="1px" CellPadding="4" Width="729px" ForeColor="Black"
GridLines="Vertical" OnSelectedIndexChanged=...
error
Could not compile the mapping document: WebApplication1.documents.hbm.xml
![alt text][1]
photo
http://forum.sources.ru/index.php?act=Attach&type=post&id=2684138&attach_id=1097
web.config
<?xml version="1.0"?>
<configuration>
<configSections>
<section name="hibernate-configuration" type="NHibernate.Cfg.Con...