|
what, i can't get u
This is haneef.............................................................
|
|
|
|
|
First this post has nothing to do with ASP.Net and please do not post the same question in each and every group.
|
|
|
|
|
Hi all.
I have a slight problem on a project I'm working on. The way things are structured is: I have a master page (obviously with the placeholder for the children). I have the placeholder surrounded by an ajax update panel (this was the only work around for a problem we had). Now the children pages all bind their drop downs with tables from an MDB.
The problem? Some pages (even though some have like only three drop downs) take AGES to bind. And even more when a button is clicked (this shouldn't post back as it's in an update panel right?).
I don't see why this is happening in only particular pages. Sometimes, a very short page takes 10-20 seconds to respond to a click, whilst much larger pages respond instantly.
What could be the problem? I'm blocked.
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
Hi , there is problem in my excel reports(when value if gridview is export to excel sheet) . i m working on a Asp.Net .
when i run programm then there is no problem in reports , its works fine , but when i host it on IIS , reports show a problem .
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
modified on Friday, August 8, 2008 3:01 AM
|
|
|
|
|
May be the versoin problem for Crystal report will occur,Comparing to your local system and your Server...So please chk with that .....and open the one crystal report in your Server and check it
|
|
|
|
|
I'm developing an intranet applicaiton and printing barcode for the application.But the problem is that barcode gets printed on the server.
Thus i want to print is on client side.
Plz post a code for this if possible.
|
|
|
|
|
hmm surely if you click print on your machine using javascript print code it will print on your local printer?
|
|
|
|
|
Moderator,
pls moderate and opt out this type of foolish questions..
Its painfull to wasteing time in reading it even.
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
If you use server code to print the bar code, it's obviously going to be printed on a printer connected to the server. You can't access the client printer from the server code.
You could render the barcode as an image to display in the browser, so that the user can print it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I have a panel in masterpage.how can I change the visiabillity of that panel from codebehind of another page like homepage?
|
|
|
|
|
Master page's control can be accessed from all the Contentpages that have the same masterpage.Check the panel as runat="server" and get the control in codebehind and change the visibility according your needs.
Cheers!!
Brij
|
|
|
|
|
Hi...
You can get the refernce of Master page control like this and handle as you need
Panel pn = (Panel)Master.FindControl("Panel1");
Response.Write(pn.ID);
pn.Visible = false;
|
|
|
|
|
Cast the reference in Page.Master to the specific type of your master page class, then you can access it's controls. Example:
((MyFabulousMasterPage)Page.Master).MyGreatPanel.Visible = false;
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
How can I code for dial phone number stored in database from my window application
Thanks in advance
|
|
|
|
|
This is ASp.net Forum. Please put it in C# Forum .
cheers,
Abhijit
|
|
|
|
|
I have a generic list that I store the item of shoppingcart in it.I don't know how can I show this item in a gridview .my gridview is in another page.please help me.and my gridview is in a cache.
|
|
|
|
|
Dear Friends,
I want to know that what process take place at page level when any Exception fired and how was it handle by default by the Exception Handler class.
Please give me any link regarding this.
Thanks and Regards,
Sasmi
|
|
|
|
|
if you have any method where you didnt handle Exception , using Try , Catch then you have to handle the Error using Following way
1. Page Level
if you handel exception in page level there is a event Page_error where you can handle.
void Page_Error(Object o,EventArgs e)
{
Trace.Write("Error Message " + Server.GetLastError());
Server.ClearError();
}
Note : You can print this Error in any conrols, because from Page_Error Event you dont have any access of any control
2. Application Level:
in Gloabl.asax , ther is and event which fires when any application level error happen.
void Application_Error(object sender, EventArgs e)
{
}
Hope this clear your doubt.
cheers,
Abhijit
|
|
|
|
|
Thanks Abhijit,
this code will help me but i want depth information so that i know what actually the process of Event Handling.
As well as if i throw an exception through any method could i catch it at this Page_Error method?
help me regarding this cause i want to know this i search for it on google but i didn't get any help as provided by you.
thanks and regards
Sasmi
|
|
|
|
|
|
hi all,
I have a grid which contains checkboxes(similar to mail inbox).I have one href control outside the grid.When i click all the chekboxes inside the grid must b selected.When i click again they should b deselected.Can any1 tell me how to accomplish this using client side code?(i mean in javascript)
i wrote a code like this
var isChecked = false;
function check()
{
isChecked = !isChecked;
var checkboxes = document.getElementsByTagName("INPUT");
var index;
for(index = 0; index < checkboxes.length; index++)
{
if(isChecked)
checkboxes[index].checked = true;
else
checkboxes[index].checked = false;
}
}
Check/Uncheck All
The above code is working 5n if the page has no other select controls(radiobutton,checkbox,listbox)outside the grid.
But i have one radiobutton control in my page.So when i click the href all the checkboxes inside the grid gets checked but the radiobutton also gets checked.That shoud not happen.How 2 accomplish this?
T.Balaji
|
|
|
|
|
|
hi abhijit,
i made the necessary changes and i got it..its working 5n now.thanx
T.Balaji
|
|
|
|
|
|
hi abijit,
thats fantastic.but my requirment is when the href is clicked this should occur and moreover href is NOT inside the grid.kindly go thru my
code.Is it possible to make any check that checkboxes are inside the grid and continue ,like
var isChecked = false;
function check()
{
isChecked = !isChecked;
var checkboxes = document.getElementsByTagName("INPUT");
//HERE I WANT TO CHECK CONDITION LIKE
if(document.getElementbyid("ct100_gvclust1")=="ct100_gvclust1")
// AND CONTINUE
var index;
for(index = 0; index <checkboxes.length;>{
if(isChecked)
checkboxes[index].checked = true;
else
checkboxes[index].checked = false;
}
}
T.Balaji
|
|
|
|