hi all,
i have a asp.net menu in my skin file, i gave the menuitem a class :
<StaticMenuItem Style CssClass="menu_ item" />
but there is some conditions where i want the item cssclass to be "menu_item1 ",
is there any possibility to change dynamically the cssclass within a Skin file??
Thank you for your help
User Profile
Collapse
-
Dynamic controls management in Skin files
-
HttpContext.Current causing an error
Hi all,
i'm having a serious problem when i' trying to use "HttpContext.Cur rent".
What i' trying to do is to get a querystring value by:
"HttpContext.Cur rent.Request.Qu eryString["..."]" (in my page base class)
But i got this error:
"Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack"(please see attached... -
Session problem
Hi all,
I have a page in my web application that contains a "login as" functionality(a dmin can login as the selected user).
Once this button is clicked, it opens a new window and login automatically.
My problem is:
In my new opened widow, when i click logout(that clears all sessions)
it clears also the sessions in the opener window.
how could i prevent this. -
ASP.NET 2.0 Menu
Hi all,
I have some problems concerning ASP.NET 2.0 Menu in my new web application(Wit h C# code).
I have my menu items saved into an SQL Server 2005 table, and i have in my application an xml datasource related to the menu.
I retrieve my data and save them into this xml datasource.
The menu is generated with no problems.
But in each of my root items(staticMen uItems) i have a picture then the description... -
Asp.net 2.0 (C#) Treeview question
Hi all,
i have a question about the asp.net treeview.
I want to show the checkbox on every node in my tree,but i'm having a problem dealing with this feature.
The problem is:
When i check a tree checkbox i want automatically an event to be raised,but that does not happen.
I searched the MSDN and found that the checkbox in the tree does not raise the "onCheckedChang ed" event unless the page... -
Hi there,
i think u should try this piece of code(i'm using C# code):
[code=cpp]
try
{
//here goes your code to test
}
catch(Exception ex)
{
//ex is a variable that contain the error code and infos,here u can handle ur error
}[/code]
Hope this is what ur looking for... -
Hi there,
i THINK u should put this piece of your code before Response.Write( "Inserted") :
[code=cpp]
(
dgstr = "select * from theater"
dgcmd = New SqlCommand(dgst r, con)
da = New SqlDataAdapter( dgstr, con)
ds = New DataSet()
da.Fill(ds)
GridView1.DataS ource = ds
GridView1.DataB ind()
...Leave a comment:
-
Manipulating the users "SharePoint permissions " with .NET 2005(C#)
Hi every one,
i'm working on a SharePoint Site were i have a custom webpart that shows pictures based on a shearching criteria(develo pped in Visual Studio 2005 using C#).
What i want to do is : i want to show an hyperlink in my webpart based on ShrarePoint user log in(permissions) .
My question is how could i manipulate ,or access (with objects i mean), these SharePoint permissions from Visual Studio 2005 (i'm not developing the... -
Load an rpt(Crystal Report) file into an iFrame
Hi all,
i have a web page(.aspx) and i have a button and an iFrame in it.
What i'm trying to do is:
when i click this button i want that an rpt file load into the iFrame.
what i'm doing now is load the file into an HTML page and then give it source to the iFrame.
My question is :
is there any way else to load the .rpt file directly into the iFrame without using another page(i'm not an expert... -
Firefox problem
Hi all,
i'm testing a javascript code that allow me to see a timer(just minutes and seconds) when a start button is clicked:
[HTML]<html>
<head>
<title>Test</title>
<script language="javas cript">
var TimerID;
var min,sec;
function Start(min,sec)
{
if(sec<59)
sec+=1;
else
{
sec=0;... -
Cascading DropDown(AJAX with .NET tech)
Hi all,
i have a problem implementing Cascading DropDown,in my webpage.
i'm creating it in"test.aspx" :
<cc1:CascadingD ropDown .......></cc1:CascadingDr opDown>
in my "test.aspx. cs" page:
i'm trying to fill it with infos.i'm getting these infos by connecting to SQL Server 2005 database,but it wont work,instead i have a 403 error.
if any one have a code or an answer please... -
Change the web page color!!!!???
Hi everyone,
i'm working on a project where i have a logout link,
and when i click, a prompt question appear(i have an "Ok" button and "Cancel" button).
My question is:
i want to make my page in white and black when i click this link then if i click on "Cancel" button i want my web page to return to its original colors(my page is divided into 3 frames and this link is in the second... -
Hey everybody,
i have been trying to do this in javascript but it wont work does anybody can give me the solution?i'll be thankfull
ThanksLeave a comment:
-
Array problems
Hi everyone,
i have a problem in filling an array, and thats what i'm doing:
[code=asp]for i=0 to filescounter-1
for j=0 to counter1-1
if filesArray(i) = secondArray(j) or filesArray(i)= "defaultdispic. jpg"then
found=1
end if
next
if found=0 then
helpArray(count er2)=filesArray (i) 'error... -
Ok,
but my page is divided into 3 frames.(and if u can tell more about how to write it with javascript)
thank u...Leave a comment:
-
Change the web page color!!!!???
Hi everyone,
i'm working on a project where i have a logout link,
and when i click, a prompt question appear(i have an "Ok" button and "Cancel" button).
My question is:
i want to make my page in white and black when i click this link then if i click on "Cancel" button i want my web page to return to its original colors.
it can be done?
Thank for any h... -
Localhost connection problem
Hi everybody,
i have installed the IIS on my computer and after i shared the wwwroot i tried to test a little project (in the wwwroot) from IE 6.0 but i had nothing(page cannot be found), i thought that my project has some Errors,then i tried "http://localhost/" (to see a litle help from the IIS) but i had the same message(page cannot be found....)
So, is the error from the wwwroot Web Sharing?or something... -
Scrollbar for the frameset
Hi all,
i have an HTML page that is divided into 3 frames:
-------------------------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Blah!Bla h!</title>
</head>... -
Call a javascript function in an iframe from other frame
Hi all,
i have an HTML page divided in 2 Frames (frame1,frame2) ;
in frame1 i have an iframe(datamain ), my problem is :
i'm trying to call a javascript function( hidemenu() ) in the iframe from the 2nd Frame(frame2) but it didn't work
parent.frame1.d atamain.hidemen u();
what should i do????
Thanks -
Call an iframe javascript function from onother Frame
Hi all,
i'm working on a page that contains 2 Frames,
in the first Frame i have an iframe included.
My problem is that i'm trying to call a javascript funtion located in the iframe from the second Frame but it does not work:
in the second Frame:
parent.mainFram e.datamain.hide menu();
-mainFrame is the first frame
-datamain is the iframe (in the first frame)
-hidemenu()...
No activity results to display
Show More
Leave a comment: