My web page has an image control with an image url defined. The control seems to resize the picture to make it fit inside its boundaries. How can I turn off the image resizing so that it displays the picture actual size while clipping any part of the image that does not fit inside its boundaries? I was trying to use the Bitmap class to accomplish this without success.
My image control height and width is 400px X 300px. The picture is 800px x 400px. When the image control displays the picture I would like it to display the picture without resizing it. So you would only see the part of the picture that fits inside the 400px x 300px boundary of the image control. The rest of the picture will be clipped.
I have a textbox that was firing Text_changed event when the user press Enter.but now it is not firing any more.But the handler for this event is executed when a postback occur(for example when I click a button).
The only change I made it was putting the asp:textbox in a <DIV> instead of a <table><tr><td>.
I observed when I press enter in the textbox I hear a sound(one of the windows usual sounds).
Could any one tell me how to solve this problem and make it working as before(when the user press Enter)?
how can we write code for SelectionChange Event of the DropDownlist control in ItemTemplate of a GridView ( for Editing Purpose of GridView) So that Text of other Dependent Text box of that row can be changed according to that combo's selected text.
I added a DropDownlist but unable to write it SelectionChange Event.
Hope to get a solution
Thanks in advance.
In HTML section add this to the drop down list OnSelectedIndexChanged=ddlSelectedIndexChanged and then in code behind create a this sub e.g protected virtual void ddlSelectedIndexChanged and in this sub do whatever you want to do..
pdfdocument pdf = new pdfdocument;
reportDocument rpt = new reportDocument;
rpt[i] = loadReport("anycrystalreport.rpt");
pdf[i] = convertcrystalreporttopdf(rpt[i]);
this codes make the error:
the maximum report processing jobs limit configured by your system administrator has been reached.
please help me.
if my codes isn't good method for this action please give me any ideas for show multiple reports in one pdf file.
i know that how to marge 2000 pdf file to one pdf file.
I am getting an error on the pages i am trying to access database.
PLease have a look to the error and help me our with all the possibilities.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.<br />