|
Hi Guffa,
Thanks for bothering.But I have set my browser to refresh every time a page is requested.It never sees the cached value....What might be the problem here I don't understand.
Has this something to do with dll and AppDomain???'coz 1 variable is defined in the dll,other 1 is in normal codebehind.
|
|
|
|
|
A static variable is a static variable regardless of where in the application it is. There is only one instance of each static variable in the application, shared between all threads. If you change the value in a static variable and don't see the change, it's because you are not reading the variable at all.
Static variables are usually not useful in a web application, as it's a multi threaded application, and all threads share the same static variable. If one user changes the variable, all users see the change.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Please any one help me
i want to add new image into the new Div control by every button click in asp.net please help me.
modified on Wednesday, December 10, 2008 7:30 AM
|
|
|
|
|
Client side or server side button click ?
Parwej Ahamad
|
|
|
|
|
whatever u want to use please help me
thank for replay...
modified on Wednesday, December 10, 2008 7:28 AM
|
|
|
|
|
Are you trying to do at runtime?Please describe in detail the requirement?
Cheers!!
Brij
|
|
|
|
|
Actually i trying drag and drop image but i want drag and drop more image on one other image and compose so i select file upload control ...
but lake information of java script i can't do somethink
|
|
|
|
|
sanjay30 wrote: i want to add new image into the new Div control in asp.net please help me.
Then What is the problem ? Add Image Control Inside Div!!!
|
|
|
|
|
i want to add on button click event at runtime not drag image control from toolbox of studio.
|
|
|
|
|
hi all,
I'm working on an Ajax enabled web site ,i almost finished doing that,
and i tested every page i have finished it , suddenly i found that the Ajax is not working in all of the finished pages why is that happening , it was running fine ?
|
|
|
|
|
What is the actual error
Cheers!!
Brij
|
|
|
|
|
Are you using Ajax Toolkit or writin your own javascript for AJAX?
|
|
|
|
|
m using Ajax Toolkit "Script Manager, Update Panel , Update Progress"
and there is no error at all ,it works fine but without the functionality of the of the update panel. i will try to install IE7 "which it was working without it" and re install Ajax Toolkit!
|
|
|
|
|
If it is working for all other pages, re-installing AJAX toolkit won't help. You need to tell us more information about the error message you are getting or what you meant by not working.
|
|
|
|
|
thank you for helping me,
i dont receive any errors when m running the applicatoin,
the page is working fine but like m not adding Ajax Update panel,
the is posting back to server.
here is my code
<asp:scriptmanager id="ScriptManager1" runat="server" xmlns:asp="#unknown">
<asp:updatepanel id="UpdatePanel1" runat="server" xmlns:asp="#unknown">
<contenttemplate>
<asp:gridview id="GridView1" runat="server" datakeynames="ID" autogeneratecolumns="False" __designer:wfdid="w182" datasourceid="SqlDataSource1" allowsorting="True" allowpaging="True" xmlns:__designer="#unknown"><columns><asp:boundfield readonly="True" datafield="ID" insertvisible="False" visible="False" sortexpression="ID" headertext="ID">
<asp:boundfield datafield="UniversityNameAr" sortexpression="UniversityNameAr" headertext="UniversityNameAr">
<asp:boundfield datafield="UniversityNameEn" sortexpression="UniversityNameEn" headertext="UniversityNameEn">
<asp:commandfield showdeletebutton="True" showeditbutton="True">
<asp:sqldatasource id="SqlDataSource1" runat="server" __designer:dtid="5348024557502472" __designer:wfdid="w166" connectionstring="<%$ ConnectionStrings:UniversityProjectConnectionString %>" selectcommand="SELECT * FROM [Unvirsity]" deletecommand="DELETE FROM [Unvirsity] WHERE [ID] = @ID" insertcommand="INSERT INTO [Unvirsity] ([UniversityNameAr], [UniversityNameEn]) VALUES (@UniversityNameAr, @UniversityNameEn)" updatecommand="UPDATE [Unvirsity] SET [UniversityNameAr] = @UniversityNameAr, [UniversityNameEn] = @UniversityNameEn WHERE [ID] = @ID" xmlns:__designer="#unknown"><deleteparameters __designer:dtid="5348024557502473">
<asp:parameter type="Int32" name="ID">
<updateparameters __designer:dtid="5348024557502475">
<asp:parameter type="String" name="UniversityNameAr">
<asp:parameter type="String" name="UniversityNameEn">
<asp:parameter type="Int32" name="ID">
<insertparameters __designer:dtid="5348024557502479">
<asp:parameter type="String" name="UniversityNameAr">
<asp:parameter type="String" name="UniversityNameEn">
i pot a grid view inside an update panel , when m trying to sort items for example in the grid "which is inside update panel" the page do post back ."like it is out of the update panel!"
how i can fix the problem?
|
|
|
|
|
when i run the web site an icon appear on the IE status bar till me done with errors the error is "sys is not defined".
|
|
|
|
|
From wher you are trying to run this site? I think you create Direct Sites on localhost from Visual Studio. Isn't it ?
|
|
|
|
|
Hi
I want to convert my Html(Table record)page to PDF format on Buttonclick . Is any buddy suggest me how can i achive that code.
Thank you
|
|
|
|
|
According to my knowledge you need to use any third party component.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
This is asked daily many times. Have you searched in this forums? There is no inbuilt way to convert HTML to PDF. You need to buy some third party libraries.
|
|
|
|
|
|
For this,You need third party control.Check the links below
[^]">
[^]">
Cheers!!
Brij
|
|
|
|
|
hi,
if i type employee id in text box i must retrieve employee details of that respective id typed in textbox... i have to write stored procedure for this,could u pls help me regarding this.
thnks
|
|
|
|
|
This is a basic and effortless question try to do by itself.
Go to Asp.net[^]
site you will get so many example like this.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
HI Preetej,
If you want the stored procedure for your problem then here is the code for that:
Create procedure SP_SelectEmployee
@EmpId int
as
begin
select * from employee as emp
where emp.EmpId=@EmpId
end
just call the stored procedure and pass the parameter for it. parameter of this SP is @EmpId.
Just send me your feedback if u satisfy with my answer.
Arun Sahoo
|
|
|
|