|
Karan_TN wrote: when i create a skin for gridview onload its not working
Do you mean Page_Load or onload in the client ?
Show the code that fails.
|
|
|
|
|
|
const string _themeListIDKey = "_themeListIDKey";
protected void Page_PreInit(object sender, EventArgs e)
{
if (IsPostBack)
{
string uniqueID = Request[_themeListIDKey];
if (uniqueID != null && Request[uniqueID] != null)
{
Theme = Request[uniqueID];
Session["SelectedTheme"] = Theme;
}
}else{
Session["SelectedTheme"] = This is where you put the desired initial theme;
}
}
|
|
|
|
|
Where did you applied the Themes in page ??
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
i applied this coding in all pages. and the dropdown control is in master page (content area)
|
|
|
|
|
Karan_TN wrote: i applied this coding in all pages
Where did you used Page.Theme = currentTheme ??
Don't Apply the theme to all pages. Try to use HTTPHanlder for do the job automatically for you.
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi Karan_TN,
I am preparing a tutorial to apply themes dynamically with master pages.
You can have a look at it i'll let u know once its posted.
Tej Aj,
http://opexsolution.com/forum/[^]
|
|
|
|
|
|
Hi,
If i try to start an Asp.NET page by clicking the shortcut 'view in browser' it opens IE but it shuts it down instantly again.
What am I missing?
Thanks in advance!
|
|
|
|
|
You means shortcut of web application ? You need to give only URL property for that shortcut. No need to do anything else.
Or you want something else ?
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hello,
i have developed my own content management system. it consists SEO friendly features. one of that is adding meta keywords.
but the problem is i am unable to call relevant keyword set when a product is clicked. is it possible to call keywords to page header using click event?
and also, pls, tell me if there exist another way without using page_Load event
|
|
|
|
|
Which Framework of .NET are you using ?
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
|
hello everyone
I would like to know how to link layers (objects, dal and bll) between them, for example, I would add a new record in my table so I created a class that contains the constructors and properties, a class that contains DAL methods of access to data and a class containing functions BLL insertion data in the database .my problem is that I do not know how to tie all these component-level code.
thanks.
|
|
|
|
|
Have you tried this[^]?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
Thank you for your answers, but in my project I created 4 layers, DAL, busniss object, BLL and presentation layer, so my problem was that I could aps linked layer busniss object (which contains the methods get and set) with the BLL and DAL , I searched but I don't found the concrete examples
|
|
|
|
|
ok But why do you have two BLL ?
What is the Sequence here please choose one and we will continue and i will tell you what to do
PL-->BLL--->Business objects---->DAL
or
PL-->Business objects--->BLL---->DAL
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I work with this method
PL-->Business objects--->BLL---->DAL
|
|
|
|
|
Ok now Remove all the references to the Projects.
let us start from the Back the DAL.
DAL The DAL must not reference any Project, if you have a reference to any project then remove it
BLL Add a Reference of DAL in the this Project(Only the Reference to DAL must exists)
Business objects Add the Reference to BLL(Only the Reference to BLL must Exists)
PL Add a Reference to the Business objects(Only the Reference to the Business objects must exist)
Note: if you want to add a Reference Right Click the Individual not a Solution but a Class Library and select the "Add References" option and a dialogbox will appear, Click on the "Project Tab" and select the appropriate project.
Hope you understand this
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
yes I understand , and thank you for your help Vuyiswa Maseko
|
|
|
|
|
You welcome
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I'm going to bother you again Vuyiswa Maseko, I would take your advice on my way to work, so I'll create a function to insert data into the dbb without using the property of class (get, set),and in the bll level I appeal to dal and business object class ,and in level presentation I'll call bll .
is correct????
|
|
|
|
|
Yes that is Correct
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
but my problem is how to call the properties of the class busniss object (get, set) in reference bll without make a reference ???
|
|
|
|