|
You can provide a client side handler for the onclick event of the clickable row, and in the handler you simply redirect to the next page with the id of the selected consultantdept stored in the query string. In the next page, you can query the selected id to populate the dropdownlist as well as the details datagrid (or gridview) control.
|
|
|
|
|
i want to know how i could create tabs in a web form?and wen those tabs are clicked how can i have different pages for each tab.
|
|
|
|
|
In the ASP.NET 2.0, you can use MultiView control to create a custom TabStrip control, here is an article[^] posted at CP. In addition, you may also consider a third party component, clickety[^].
|
|
|
|
|
Man u can create tabs using html table, javascript and css.
Do good and have good.
|
|
|
|
|
Hi,
You can use the TabStrip Web control and create tabs in it.
For having different pages in it, you can use Multipage web control and you can have different pages in multipage and each page can be linked with each tab.
rmr
|
|
|
|
|
I am using cookie session (cookieless="false"). In Internet Explorer it works correctly. But in Firefox I have a problems. Any ideas? Thanks in advance.
YKoltsov
|
|
|
|
|
YKoltsov wrote: But in Firefox I have a problems.
That is way too much information. Could you be a bit less specific?
If you could say anything at all about what kind of probem you have, it might be possible to say anything about it.
---
b { font-weight: normal; }
|
|
|
|
|
It look like beginner problem but i couldnt solve it
dropdownlist with three members
MEMBERS -- VALUES -- INDEX
City 1 ---- a -------- 0
City 2 ---- b -------- 1
City 3 ---- c -------- 2
How i could obtain the index, if i know the value or the string Member??
keep Learning and you never will be out of date...
|
|
|
|
|
Hi
For this you could use a for loop to check the index of the selected text.
like
private void DropDownList1_SelectedIndexChanged(.. , ..)
{
string val=DropDownList1.SelectedItem.Value ;
int index=0;
for(int i=0;i< DropDownList1.Items.Count;i++)
{
if(val == DropDownList1.Items[i].Value)
index= i;
}
}
I hope this solves the problem.
Luck is Opportunity with hardwork
|
|
|
|
|
|
Basically, if you want to determine the index of a particular item, you can walk through the Items collection of the dropdownlist to the trick, and for the selected item you can simply use SelectedIndex property.
|
|
|
|
|
I am transitioning into developing ASP.NET web applications from C# Windows applications. Particularly, I am converting a Windows application that I created in C# to ASP.NET. This application simply moves a data file from the user’s workstation to a predefined location on the network, creates and executes a DTS package, and a few other processes are carried out before ending. My question is, how, or what, is the best way to keep the user informed of the progress?
In the Windows app I created an event that simply updated a label. I don’t think that will work in a web environment though???
|
|
|
|
|
|
Hi,
I am new to ASP.NET
Please how do I load an html page when a login button is clicked
Fikunmi Feyijin
Hicad Systems
Nigeria
|
|
|
|
|
FormsAuthentication.RedirectFromLoginPage
only two letters away from being an asset
|
|
|
|
|
Do you mean
MynewpageAuthentication.redirectfromMycurrentpage
or
FormsAuthentication.RedirectFromLoginPage
Fikunmi Feyijin
Hicad Systems
Nigeria
|
|
|
|
|
Not sitting with you and looking at your code, hence not knowing anything about MynewpageAuthentication , I think you can safely assume I meant FormsAuthentication.RedirectFromLoginPage
only two letters away from being an asset
|
|
|
|
|
use the command
Response.Redirect("path", true);
path is the relative Url from the page
ex
untitled.html ***Same folder
../untitled.html ****one folder back
folder/untitled.html ***one folder up
you understand what i mean
keep Learning and you never will be out of date...
|
|
|
|
|
I got a problem to keep the textbox's text (textmode = password) when i do a page postback. the text just dont appear and i have to write it again, you know any solution in order to set the password textbox behavior just like the normal textbox behavior.
keep Learning and you never will be out of date...
|
|
|
|
|
You can't do it like normal textbox. What you need to do is set the value of that something like this:
TextBox2.Attributes.Add("value","kaushal");
Best Regards,
Apurva Kaushal
|
|
|
|
|
Set EnableViewState property of the textbox to false.
Thanks & regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
Hi everybody
How i can rotate some pictures in asp???
Thank's of everybody
-- modified at 11:27 Wednesday 20th September, 2006
when i want to read something good just seat and type it
|
|
|
|
|
Hi,
Am populating data into a tabstrip control dynamically.
When more tab gets added to tabstrip, it stretches out.
Can somebody tell if there is any property to make it come to the second line
rmr
|
|
|
|
|
HI
guys plzz let me know how to access the body tag onload event in Code behind file ,is there any way to do it,plzzzzz let me know it's urgent.
|
|
|
|
|
try these lines at html code page
give it id to body tag, add runat sentence
<br />
<body id="body" runat="server"><br />
At code Behind page, you will find the methods for body tag
example
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
body.Load();<br />
}<br />
keep Learning and you never will be out of date...
|
|
|
|