|
Just do not create HTML files with Word. Word adds a lot of his stuff into HTML. Use the FrontPage instead.
Also check the links in CHM file, try to navigate by yourself to the images, see if they are included in CHM
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
I'm trying to construct a subclass of the ASP.NET DataGrid with
automatical filter functionality. The idea is as follows:
The page that uses the DataGrid uses the SetQuery function to tell the
grid what It's main query is. This happens in the Page_Load and it
splits the query in 2 to seperatie the SELECT ... WHERE clause and the
ORDER BY clause...
The Grid subclass adds an empty row at the top of the row and puts
dynamically created comboboxes in them with all unique values from that
column that come from the query. When the user selects an item form one
of those comboboxes, the grid refreshes itsself by binding the old query
with some self-constructed restrictions...
The PROBLEM is that I can't find the right place to do this 'requery'.
If I put my code in the OnLoad function it's to early, because the
selected value of the combobox isn't known yet. And if I put my code
in the selectedIndexChanged event handler of the dynamically created
combobox, it's to late to bind the grid, because when I do a DataBind
with the new dataset (the dataset is OK!), the old data is still shown
on the screen...
I've been trying to fix this for about 2 days now, but can't get it to
work. It is really important to me that this works, because if it
doesn't, I'm going to have to place filters on every page manually
instead of using this generic solution.
Structured programming vs. chaotic mind boggling
|
|
|
|
|
I have a COM component DLL created in Visual C++/ATL and used on an ASP page. When I make changes and recompile I get a link error saying that it can't open the DLL for writing. The web server still has access to it. How do I stop and restart the web server?
This is on Windows NT4 Workstation + Option Pack.
I vaguely remember that I must do
net stop xxx
net start xxx
Kevin
|
|
|
|
|
net stop IISAdmin
Server will then moan about stopping W3SVC etc.
Once it has stopped everything (if everything goes off without a hitch), then do whatever you want with the DLL, and restart W3SVC etc.
You can also do this using the 'Services' dialog (I think - been a while since I looked at an NT workstation machine).
Cheers
|
|
|
|
|
i do'nt know how to add a tree control to a web form
kindly help me out in this regard
|
|
|
|
|
Install the iewebcontrols and simply drag it from the toolbox to your form
|
|
|
|
|
How can I set a default language for a control?For example I want when user enter in a textbox it enter farsi charachter if it is installed on their windows.What is java or .net code?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
I want to overriden OnLoad of an ASP.NET component like TextBox.I define it in my aspx page like this:
asp:TextBox id="TextBox1" style="Z-INDEX: 103; LEFT: 135px; POSITION: absolute; TOP: 376px" runat="server" Width="256px" Height="33px" Visible=True OnLoad="TextBoxLoad"
Now I want to define this function in my aspx with javascript code,not c# code.How can I do it?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
You can't (at least not as far as I know). That OnLoad event is strictly server-side.
You can put an onload event on the BODY tag which would have the effect you want.
Paul
|
|
|
|
|
Thanks.I think you are right.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
I have two question,I prefered to do these in ASP.NET way but if somebody tell me javascript code for it,I can use it too,
1.How can I get the width and height of client browsers?
2.How can I get screen resolution of clients?
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
In IE the following are available...
document.body.clientWidth
document.body.clientHeight
document.body.offsetWidth;
document.body.offsetHeight;
window.screen.width
window.screen.height
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Thanks.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
|
Thanks,I'll check it.
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
<%
Do While Not RS.EOF
Response.Write ""
Response.Write RS("Skill")
RS.MoveNext
Loop
%>"><% Response.Write (Session("strSkill"))%>
The option i wish to be selected is that value which is obtained from a previous form. this value is StrSkill. it is a string value. however, when adding the record to a database(in the next form), i need SkillID, which is an integer value. i am trying to obtain this by means of the SQL statement but it is not working. what is the problem, or is there an alternative soln? (note: the table is Skills : Skill(text), SkillID(int))
thank you!
|
|
|
|
|
Use CInt() in VBS to convert it.
Paul
|
|
|
|
|
my explanation was very vague-im sorry! in the next form ,i wish to add a record to a table, which requires the skillID RELATING to strSkill. this can be derived via a SQL statement (which reads the value from the database)
|
|
|
|
|
Looking again at your original message, it seems I missed the point completely, doesn't it?
I think this is the fix you're looking for:
<select NAME="Skills">
<%
Do While Not RS.EOF
Response.Write "<option VALUE='" & RS("SkillID") & "'"
If RS("Skill") = Session("strSkill") Then
Response.Write " selected"
End If
Response.Write ">" & RS("Skill") & </option>
RS.MoveNext
Loop
%>
</select> What you were trying to do would have produced:
<select NAME="Skills">
<option value="1">Skill 1
<option value="2">Skill 2
<option value="3">Skill 3
<option value="4">Skill 4
<option value="5">Skill 5
<option selected="4">Skill 4</option> (or something like that) But what you really want is
<select NAME="Skills">
<option value="1">Skill 1</option>
<option value="2">Skill 2</option>
<option value="3">Skill 3</option>
<option value="4" selected>Skill 4</option>
<option value="5">Skill 5</option>
</select>
Paul
|
|
|
|
|
Where is a good cross reference for all major broswers...?
IE, NS and Opera...???
I came up with a stellar idea for that web dev contest, but I will require a cross reference to properly implement it...
Any sites...?
Thanx.
p.s-Old browser which supported DHTML right up to cutting edge would be great...Mainly IE and Nestacape are my concerns.
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
I've always liked the book "The JavaScript Bible." I have the first edition, which doesn't cover Opera, but the newer edition(s) may - I just haven't seen it to verify.
Also, developer.netscape.com is a good start too, but it won't cover Opera.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Sweet....I figured out a most interesting way of implementing the above, but one thing still gets me...
In NS you have the elements collection for iterating all elements in the document and IE offers the same using the all collection. However getElemenyById was introduced by the W3C to eliminate cross browser incompatibilities(I assume anyways). Does this mean both major browser players will eventually eliminate these collections of theirs in favour of the W3C standard getElementById() ...?
Just curious
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
getElemenyById isn't supported in NS 4.7 or below. So if you have that to worry about, you're out of luck.
|
|
|
|
|
if I have the following..
<TD></TD><TD id="Something">Something</TD><TD><IMG/></TD>
How could I get the id of the IMG tag from inside an onMouseOver of the id="something" TD tag...?
IE supports a property called owningElement which I think does something like this...?
Is there any way I can retreive the IMG id ( I want to change the src property ) without supplying the IMG tag an ID also...??
i'm thinking if I could somehow use the all collection:
onMouseOver:
var i = document.all(this.curIndex)+2;
document.all(i).src = "diff.gif"
does something like curIndex exist...?
I would like this to be cross browser...so NS elements collection and IE all collection won't work...
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
i want to know the information about this kind of project
suppose there are 100 NIIT centres accross the country and i want to develop a software which would do the billing and details of all the students in these centres accross whole country...i mean info about students and their payments online with clicks...
plz tell me from where to get help or this project ??
thnx
rashmi
|
|
|
|