|
I might not know how to explain this. But I will try.
I will like to do an advertisment banner which it will run out and running on the screen when the current webpage is load.
Is there any way to do it?
|
|
|
|
|
Please write your question again. I think nobody understands what you are trying to do.
--------------------------------------------------------
My development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi Lovely,
Yes you are absolutely right, you dodn't know how to explain your need. I am sorry I didn't get you. If you want rotational advt, then there is nice control AdRotator in the standard library.
Regards
Roshan
|
|
|
|
|
Hi,
Is there any control or Database available for .net which has all the Countries, States and Cities of the world. I know I am asking for Too Much, But one can atleast reply with YES/NO..
|
|
|
|
|
|
hi,
I want to implement a full text search engine in my aspx page.Dont knw how to go abt in doing it. Can any1 guide me abt it.Am using asp.net and visualstudio2005.
Thanks;
riz
|
|
|
|
|
Maybe you can use www.google.com or www.baidu.com
Add "site:www.yousite.com" after keyword, then submit it to them.
.................
|
|
|
|
|
I´m trying to share variables between two custom controls in ViewState.
Control A sets a ViewState variable upon an eventhandler and after that Control B accesses the same ViewState variable. The problem is that when the second control tries to get the value from ViewState it is null. I have checked that the value is set before i try to fetch it so that´s not the problem.
Is there some kind of issue here that I don´t know about? Using Session variables worked just fine, but it´s important that the data is being stored per page so I have to use ViewState.
/Jonas
|
|
|
|
|
Each control has a ViewState collection, so if you want to access another controls ViewState, you have to use a reference to that actual control.
If you put the value in the ViewState of the page, you should be able to reach it from any control. I haven't tried this though, so I don't know if it's even possible. If it is, you obviously can't use more than one set of those controls in each page, as they would collide otherwise.
---
b { font-weight: normal; }
|
|
|
|
|
Thanks for your reply. I tried to access the page view state, but haven´t managed to do it. There are no Page.ViewState och Context.ViewState properties.
Maybe ViewState isn´t the best place to store pagewide global data that should be shared between controls...
|
|
|
|
|
iam sripall doing web projects and iam not able to retrive images from database so pls do the neefull iam using c# with sql server
sripall s
|
|
|
|
|
|
Hi everybody
I wanna know it s possible to use the SaveDialog in a website project.
Thx
|
|
|
|
|
|
Hai,
I have 2 different web pages.When I am clicking the first one,the control will moves to the second page.And at the same time,i want to close the parent window,When we are closing the parent window, a dialog window appears and saying that "do u want to close the window".Is it possible to avoid that dialog window.
Please help me ...
Jeeva
|
|
|
|
|
|
Hai Deepak,
These are two different pages.I am using window.open for opening the second page.From the second window I want to close the first one,that is using window.close.
How can we avoid that prompt.
Jeeva
|
|
|
|
|
Hai,
I have added button using property builder in datagrid. I want to execute some functions under this button click.How I can get the server side events of that button.How I can do this? Please show me the right way.
Thank You,
Rahul.P.Menon.
|
|
|
|
|
a. use ItemDataBound_DataGrid Event
b. find the control
Dim btn AS Button = CType(e.Item.FindControl("Buttonname"),Button)
C. add your event
|
|
|
|
|
Hai Satheesh,
Thanks much for your reply.
Rahul.P.Menon
|
|
|
|
|
I'll add a different approach to sathish's answer -
Since you are adding the button in a datagrid column, you can take advantage of event bubbling within the datagrid. Assign a CommandName (and optionally CommandArgument to the button (these are properties of the button). Then in the code handler for the DataGrid's ItemCommand event, you can determine if that command button were clicked by it's CommandName . For example, if you named your button "Details", then your DataGrid ItemCommand handler might look like this:
void MyGrid_ItemCommand(object o, DataGridCommandEventArgs e)
{
if (e.CommandName == "Details")
{
}
} It's typical to use a switch statement in an ItemCommand handler if you have several buttons with CommandName's in your datagrid.
|
|
|
|
|
Hi
Try this:
int tmpid = Convert.ToInt32(datagrid.DataKeys[(int)e.Item.ItemIndex]);
string popupScript = "< Script language = 'javascript'>"+ string.Format("javaScript:window.opener.document.{0}.value = \'{1 }\';window.close(0;", request.QueryString["field"], Convert.ToInt32(tmpid)) + "";
Page.RegisterClientScriptBlock("PopupScript",popupScript);
In Properties of DataGrid, This Code as to be written in "ItemCommand" Event.
Regards,
Naren
please help me
|
|
|
|
|
Hi All
Pls help me to check size of a folder on my computer
For example
Disk C has a folder "ABC"
pls help me to check its size
My idea is to execute this problem on ASP.NET
Thanks & best regards
|
|
|
|
|
|
Hi Developers,
I am using a group of statements in Try Catch Block. When an Error occured at any line of "Try Block" control goes to "Catch Block" and skip the execution of lines coming after Error Line.
Now what I want is that "Program should start execution from line after the Error Line(Where error occurs)". I think there is some statement like Resume next is used in this case but not sure.
Thanks in advance
Lets work it Out.........!
|
|
|
|