|
document.forms[0].submit() isn't this a simplier way ?
|
|
|
|
|
Not if he wants to call a specific event, no.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
You realise that there's no way to do this without making an AJAX call ( which requires it's own set of work ) or refreshing the entire page ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How can I bind Grid view in codes to a dataset
|
|
|
|
|
onyang2 wrote: How can I bind Grid view in codes to a dataset
GridView1.DataSource= _objDataSet;
GridView1.DataBind();
|
|
|
|
|
I tried this code but everything is silent After placing my grid on design.
//ods is my dataset
GridView1.DataSource = ods
GridView1.DataBind();
|
|
|
|
|
onyang2 wrote: I tried this code but everything is silent After placing my grid on design.
Hmm..What did you expect is there any thing music will playing around?
Ohh.. I was joking, What happened after that? Is there any data on your data set? Try to use break point and Debug you code. Check the Dataset has any data or not?
|
|
|
|
|
Like this[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I am developing a form varification section. In which different forms are entered in db and ready for varification. I want to display all these form horizentally in by Form No like this
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15...............................................
I have a dataset that get all rows from database.
How I can show these Form No on my web page. These Form Nos will work as link Button. After click a specific Form No It would load that particular Form in gridview underneath.
I am waiting your ideas and solutions.
Qasim Ali
|
|
|
|
|
Member 3374813 wrote: varification
verification
Member 3374813 wrote: I have a dataset that get all rows from database.
for all the rows(i.e. form ids) add some(possibly hyperlink control) control dynamically.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I have a couple of dropdownlist controls (System.Web.UI.WebControls.DropDownlist), that are required to be selected as follows:
Products Dropdownlist - Bound to SELECT products from product;
Products Detail Control (might be list box) - Bound to select products | other information from product;
Both controls have to have the same datasource, and, the value must somehow be available for retrieval, so I can write it back to the database:
cmdCreateNewTaskQuery.Parameters.AddWithValue("@priority", <selecteditem>);
.NET Framework 2.0
Any ideas would be appreciated.
Jon
|
|
|
|
|
jon_80 wrote: Any ideas would be appreciated.
Where is the problem?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I am using framset in one frame i have treeview and in another i am displaying data
when any record is added i want to refresh treeview and i want to display that node
record is added from another frame how can i do that
also i want to maintain treeview state and populateondemand true
|
|
|
|
|
Use master page for tree view
|
|
|
|
|
Hi,
I am having 2 dropdown lists 1st dropdownlist contains A-Z list.2nd dropdown list contains some names like akila,bindu,chinni,....zibra etc.
when i select name in 2nd dropdown list, the first letter of that name should be highlight in 1st dropdown.eg. i select chinni then "C" should be highlight in 1st dropdown. Please help me how to resolve this problem.
Thanks in advance
Pavani
|
|
|
|
|
you can make use of Javascripts functions to solve this problem.
On change event of second dropdown, call a Jscript function. In this Jscript function identify the selected value and based on it select the appropriate value in first dropdown.
Hope this helps you.
Regards,
Vengat P
|
|
|
|
|
On 2nd dropdownlist selectedEvent you find dropdownlist2.selectedItem.Text .
then this value assign to a string value ch ;
now use the split function in string ch and find first letter if the string .
then use
dropdownlist2.items.findbyText("XXX").selected = true ;
here XXX = first letter of the string
and first dropdownlist must contains A-Z Alphabates .
Thankx if it helps .
|
|
|
|
|
Thank you so much for all your response.
I solved my problem with this code
foreach (ListItem item in ddlcont.Items)
{
if (item.Text.StartsWith(txtcont.Text, StringComparison.CurrentCultureIgnoreCase))
{
ddlcont.SelectedIndex = ddlcont.Items.IndexOf(item);
}
}
|
|
|
|
|
Hello,
I have to create a slide out menu using HyperLink control, ie when the mouse is moved over the Hyperlink, it will display the child items and when mouse is moved out, child items will disappear,
I need to do this using HyperLink Controls,
Please could anyone help me doing this, or provide any link for this.
Thanks in Advance.
|
|
|
|
|
VikashGohil wrote: Please could anyone help me doing this, or provide any link for this.
BTW, why did you post your question as a joke ?
Anyways, you can find a whole lote of example here[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi..
I want to know some specific disadvantages of using enterprise library.
Regards
Mahesh.J
|
|
|
|
|
Paste the same question in the Google TextBox and click on 'Search' button on the right side...
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Why ???
|
|
|
|
|
|
Hi All,
I have a web form and xsl, from which a pdf is being generated. The pdf takes values from the form.
Now a new pdf is created and inserted which is having currency formatting (like $ 232,565,989.89). this new pdf when we manually enter the values taking this currency formatting. But when the values are coming directly from the form not giving currency formatting like above.
And that pdf is created by the client, what should we do to that pdf to take the "," even when the values are coming from the form also (without chaing the form code or xsl).
Can I write any VBA code or any settings to do it.
Please help me.
Thanks,
Md Abdul Aleem.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|