|
Thanks for reply. Do you think instead of locking file, We have to used xQuery to Insert, Navigate, Update and Delte xml data. Do you have any example for using xQuery or any link of article who use xQuery for above operation.
abc
|
|
|
|
|
Hai there,.....
Actually, i did coding for dropdownlist boxes loading (i.e : -) Three dropdown boxes i have[ country, state , Project]. If user select any country means, according to the user's selection, the State and Project should be loaded in the corresponding boxes. Without using page reloading, i finished successsfully by Javascript and AJAx....
But if i use JAvascript means, the selected value cannot be get at server side.. Only HTML dropdownlist i used.
If i use AJAX means, i can't able to convert that codebehind aspx.cs file into inline coding. Why i'm going to inline means , in remote server .cs file cannot be able to uploaded and that's y i trying in inline..... And also what pagedirectives i've to use at aspx file if i converted that aspx.cs file into dll file.............
Please help me sir....
Regards n Advance Thks
Sam.M
|
|
|
|
|
u can use the server control drop down list and add the attribute "onchange"
add this to page load or override page init
<br />
ddl.Attributes.Add("onchange", "JavascriptFunction(this);")<br />
before i knew AJAX i used to create arrays and write them to the html page when the page is loaded, they used to contain all the items, subitems, and sub-subitems and do the same functionality using javascript only
hope this would help but i didn't try it
Best Regards
3ala2
|
|
|
|
|
What about AJAX sir......Please help me....
Thks a lot
|
|
|
|
|
i donno man, i'm not AJAX expert
did u try to use the server control as i said above?
Best Regards
3ala2
|
|
|
|
|
I did everything in html dropdownlist boxes only, that's y i'm struggling........
Thks
|
|
|
|
|
Why do you need the .cs file on the server? There should be no need for this.
Have you looked at the Atlas framework that microsoft have been releasing - there's some good articles on this site about using callbacks.
|
|
|
|
|
I'm using ASP.NET 2003...........
Thks
|
|
|
|
|
If you have it all so that the dropdowns already work, how about updating a hidden field each time the selected item in a dropdown changes and then checking that hidden field on postback. Seems like an easier option...
|
|
|
|
|
Hi/........
How to use hidden fields in javascript and how i assign the selected dropdownlist boxes value there[ HTML Controls ].... Please help me...
Thks
Sam.M
|
|
|
|
|
Stick a hidden field on the page (marked as runat="server"), in your code that you created (javascript) to set the selected items of each item, set the .value of the hidden field.
In the code behind, you should be able to access this field like any other...
|
|
|
|
|
hello
i need to bind data in textbox control.
is it possible?
Pathan
|
|
|
|
|
check the DataBindings property of the text box
Best Regards
3ala2
|
|
|
|
|
i want to bind textbox control with code using vbscript.
Pathan
|
|
|
|
|
textbox has no databinding property.
is it possible or not?
Pathan
|
|
|
|
|
My Dear
<textbox id="txt1" runat="server" text="<%#Container.DataItem("gateway")" %="">/>
Where "gateway" is the name of the field in database.
-- modified at 8:29 Tuesday 7th November, 2006
|
|
|
|
|
hello
i have usercontrol with some dropdown and textbox.
acually its a row in which i have added a textbox and usercontrol.
now what i want when i click on linkbutton then this usercontrol should be add again and again in below of each other on every click.
plz suggets me how can i do it.
thanx.
Dotnet
|
|
|
|
|
where is the link is in the user control or on the aspx page
|
|
|
|
|
|
|
Hi,
I'm not sure whether this is an ASP.net question or an SQL one.
I have a table which holds a field for time estimate for each stage of a project to complete. The time estimate is in days, ie. 5 days for Stage 1, 15 days for Stage 2, 20 days for Stage 3.
In the project table, I need to have a field which will tell me the % of completion of the project according to number of stages completed. For instance, if Stage 1 & 2 are complete, the field should display 50%.
Any hint, suggestion, nudge in the right direction or down right code solution would be very much appreciated!
Thank you.
|
|
|
|
|
u can do that in the code behind
loop through the datatable or reader u have
and make the calculation on each row and check if the stage is completed u add its % to a total variable the make ur calculation
hope this would help
Best Regards
3ala2
|
|
|
|
|
I will come back to this in due time. Thanks for the reply mate. =D
|
|
|
|
|
I am uploading the excel file in my current project.
The field with only alphabets and
the field with only numbers are beeing uploaded proprly
but the fields with alpha-numerics gives blank value while
uploading.
If anyone have any idia about this then
pls let me know
Regards
Chintan
Regards
Chintan
|
|
|
|
|
when i select a node the page is post back. i want to avoid page post back. there is no autopost back property for tree view.. then how can i avoid page post back each time when i select the nodes... also for server button i want to avoid auto post back false.
|
|
|
|