|
FOUND IT
just remove
//if (this.SelectedIndexChanged != null)
// this.SelectedIndexChanged += new EventHandler(this.DDL_Osic);
in the page_init in the user control. That was the devil that bit me this afternoon!
thanx for your input.
|
|
|
|
|
How can I quit completely from master page. End all sessions and go back to login page
Sessio.abandon() or Session.Clear seem not working
|
|
|
|
|
Hi,
Use Session.Remove("SessionVariable")
and check on master page load, if session is nothing then redirect your
login page
|
|
|
|
|
onyang2 wrote: Sessio.abandon() or Session.Clear seem not working
Why? How did you know that they are not working ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Fine Fine . What I did was to set a logout immagebutton to have a postback Url to be
"master page" and at the same time code click event to abandon session. I have noticed that
it did not recognize the coded click event but the postback. so it works after removing postback Url, but i think
such like confusions Microsoft should address instead of using common sense.
|
|
|
|
|
Hi,
some time i get this error :
Exception: System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %>
|
|
|
|
|
egainz wrote: ]]>
add
EnableEventValidation="false" in page attribute
|
|
|
|
|
Can I suggest that if you take the advice already given, you make sure you fully understand its implications. There are security considerations here.
|
|
|
|
|
can any one guide me that i have a update panel on page
which contains two drop down list country and city on selected index change i am loading cities .
on local machine and lan it works fine ....
but when i host this application on server and try to change country i takes around 3 minutes to load cities i have tried my best to identify the problem.. but failed does any one have idea how to resolve this problem....?????
umerumerumer
|
|
|
|
|
this problem is for server peformance
as your request is taking a lot time to get completed
|
|
|
|
|
ok thanks for reply then what do you recommend in order to solve this problem????
umerumerumer
|
|
|
|
|
Hi,
I have a formview that uses a sqldatasource.
In the insert item template of the formview I have a file upload control that the user uses to upload an image to the database.
Then on the click event of the insert button I take the image and push it over to a byte array so that I can insert it into the database.
Then I want to update the insert sqlparameter with the byte array to be saved to the database.
The problem that I'm facing is that the column type in the database table is that of image, but when i try to set the sqltype of the insert parameter there is no image option under the TypeCode enum.
I can't insert the image as string nor as object cause it gives me an sqlexcpetion of converting from string to image type. The error is as follow : "Operand type clash: nvarchar is incompatible with image"
Any ideas on how to get this working?
Thanks in advance
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
images are binary type so you can do this by binary format
|
|
|
|
|
Hi,
I have developed a asp.net project using frame work 2.0, & i add some class files in appcode folder & i want to create dll for appcode only which is having some class files
modified on Friday, February 20, 2009 7:06 AM
|
|
|
|
|
What are you actually asking ?
i want to create dll of appcode only if i publish website it create to all dll
Can you please read this and tell me if it make sense. Before you post , please make sure that what you wrote will be understandable to another person.
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
If I understand what you are asking... What you would need to do is:
1) Add a class library project to your solution
2) Move your classes from app_code to the class library project
3) Add a reference to the class library to your website
4) Add a reference to the namespace to the web.config so you don't have to add a using to every page
<page>
<namespaces>
<add namespace="MyDll" />
..it may take some debugging but this will get you most of the way there.
Regards,
Jeff
|
|
|
|
|
dont worry about that, just publish your site (Build > Publish Web Site)...it will create dlls for every page code
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I have a series of dropdownlists outside the datagrid control. I'm looking for a tutorial or a point in the right direction to learning how to filter the datagrid with these controls.
If anyone knows a good place to start let me know, its much appreciated.
|
|
|
|
|
please describe your question in detail. what exactly do u need.
|
|
|
|
|
I'm looking for a way to drilldown i think it is the datagrid.For instance
When the page loads the default dataset with all the info is retrieved.
then the user can filter the data using dropdowns. But they can search between parameters eg. id > 34 id <544
|
|
|
|
|
when you retrieve data from database assign that datatable to default view and then filter with prarameter you want and then bind it with grid
|
|
|
|
|
when we are executing the project we are getting the error as below
could not load file/assembly crystaldecission.crystal reports.engine version-10.2.3600.0................ in VS2005.(web.config)
|
|
|
|
|
yes are you missing .dll that you have mentioned here..
first you look in your project that reference of this assembly is added or not????
if added then it should exist in your web.config file
umerumerumer
|
|
|
|
|
Hi all,
Iam using caching in my asp.net application..I have used the code
Cache.Insert("Ds", DsiReports)
I have inserted a dataset in cache which contain records...
wheh i use the below the code.(Cache.Item("Ds")) contains nothing
If Not IsNothing(Cache.Item("Ds")) Then
DsiReports = Cache.Item("Ds")
End If
wheh i run the same code in my near by and other system the cache contains data..In my system cache is not wrking ..
How to enable cache in my system??
pls give some suggestion...
I searched in google but it didnt work
|
|
|
|
|