I did not understand the reason behind calling these 2 events
If I were you, I would handle one event instead.
The best event for this scenario is the SelectedNodeChangedof the treeView, and it should be something like this
l am using jquery and jquery.corner pluging to create div rounded with border.
i get it, but my problem is that
i want to use drop shadow on bottom and right side of div . i am searching it last couple of days
but no getting it. i also have used liquid canvas but did not find correct solutions
Please suggest How to do it?
open a index.html file in your browser its a demo
in the shadow case -> look at the dialog demo -> look at the html , class="ui-widget-shadow ui-corner-all"
now add the folders to your site/web app
then set this html in a page for a test
link the 2 js file and css to that page
Hi in our webserver oftenly we get an error ORA-03113: end-of-file on communication channel, whenever our website tries to connect an Oracle database.This error disappears when we restart the IIS.
Can anyone give a permanent solution to this problem?
To request a friend, I think it is done as follows
When the user selects the person by his/her name and click send request
The system does 2 things:
1- Sends an email message to that person including the name of the sender
2- Insert a new request record in the requests table of that person to enable him/her see it within the site
Change your TextBox to a DropDownList
Create a StoredProcedure that will return you a listing of Categories from your Category reference table
Transform the raw data into a List of KeyValuePairs with your category DisplayNames and your Database Values,
Set the DataSource of your DropDownList to the List<KeyValuePair<string,string>> where each KeyValuePair represents an individual category,
Trigger a postback on Category Selection,
Send the category down to your Stored Procedure as a parameter,
Pull back data,
set the DataSource of your GridView to a List of your Business Objects
Quick and dirty, typed in-line off top of head:
public List<KeyValuePair<string, string>> GetCategories()
//Pseudo-Code//Open Database Connection//Create a command of type StoredProcedure//Tell the command which stored procedure to execute (preferrably, your "GetCategories() SP)
List<KeyValuePair<string,string>> categories = new List<KeyValuePair<string,string>>();
public List<BusinessObject> GetData(int category)
//Pseudo-Code//Open Database Connection//Create a command of type StoredProcedure//Tell the command which stored proc to execute (preferrably, the one that "Gets Data")//Send category down to Stored Proc as a parameter
List<BusinessObject> list = new List<BusinessObject>();
protectedvoid Page_Load(object sender, EventArgs e)
grdData.DataSource = GetData();
ddlCategories.DataSource = GetCategories();
ddlCategories.DataTextField = "Key";
ddlCategories.DataValueField = "Value";
Well...to pass data from one page to another, you are going to have to have some way of persisting the relevant information between pages because web development is inherently stateless.
The most common methods for passing data from form to form would be:
I suggest you begin by investigating these three mechanisms.
Then, figure out how to bind a GridView to data that you pull out of your chosen variable. Then, figure out how to put data from the original GridView into the variable. If you can combine these three tasks, you will be able to pass data from GridView to GridView.
I'm running into some very weird (to me) behavior when I try to chain the OnClick event of a Label to an Anchor. If that isn't self-explanatory, what I'm doing is showing a Label and hiding an Anchor. When I click on the Label, the Label clicks the Anchor.
My debugging process:
-> If I hide the Label, Show the anchor and set the function directly in the OnClick event in the a tag, executes as expected
-> If I show the Label, Hide the anchor and set the function directly in the OnClick event in the asp:label tag, executes as expected
Clicking the Label is triggering a PostBack, but it is not executing the client-side onclick event before doing so.
I've included the relevant code below. Does anyone have enough experience in this area to know why the Anchor's onclick event is not chained to the Label?
I am trying to code a procedure in VB.Net where a user clicks on a link and the page detects the email of the person. This way I will be able to validate that it is a new user who has accessed the activation aspx page.
Currently, I have the follwing:
IF Request.QueryString("uid") > 0 THEN<br />
'activate user<br />
'display error message<br />
I can also query the DB to see if the userID is > 0 AND if the activation status is false, but it is still not specific enough. If I can include his EMAIL ADDRESS in the query, I will have solved the issue.
Thanks for your help!
Last Visit: 31-Dec-99 19:00 Last Update: 17-Jan-22 13:35