|
Hello. can any one help me out with it. Well here is my case: I have a document of several pages in the doc format. I want to be able to dynamically regenerate this table of contents from an asp.net application. The document will be loaded in the browser and the user can add a new heading. When saving the document, the new heading should be added to the TOC. Can you help me out with this please? Thanks in advance for a reply.
mukund@epuratech.com
Mukund
|
|
|
|
|
Hello everyone!
I have a problem,
- I can't redirect the my Page,
- I create a Web project in .NET 2003 IDE,
I use function Respose.Redirect(mypage.aspx)
The First, it run well, but when the second it don't run.
However, I press F5 to refresh then the page execute so well.
Thanks you anyway.
|
|
|
|
|
try this
response.redirect(mypage.aspx,false)
|
|
|
|
|
Hello,
I bind my data source to a GridView and then added two buttons but the buttons always comes first. But I need the buttons to appear at the last two positions. i.e. If I have 5 columns in my data source the button column appear at 6th and 7th position. It's not happening. How can I do this? Can anyone help me? Plz...
GridView GridView_Section = new GridView();
GridView_Section.ID = "GridView_" + iGridView;
GridView_Section.DataSource = dTable;
HyperLinkField _hLinkField = new HyperLinkField();
_hLinkField.HeaderText = "Edit";
_hLinkField.Text = "Edit...";
_hLinkField.NavigateUrl = "Default.aspx";
GridView_Section.Columns.Add(_hLinkField);
ButtonField _btnField = new ButtonField();
_btnField.HeaderText = "Delete";
_btnField.ButtonType = ButtonType.Image;
_btnField.ImageUrl = "Themes/HrmSilver/Images/icon-delete.gif";
GridView_Section.Columns.Add(_btnField);
GridView_Section.DataBind();
Thanx.
Razin
|
|
|
|
|
Hi,
How can I disable the browser's "Back" button in an .aspx page?
I do not want to create JavaScript window to avoid showing any toolbar,etc.
In regular .aspx page, is there any way to disable the back button in the toolbar? I dont want to navigate using the back button. it's urgent
Thanks
Riz
|
|
|
|
|
Plz try it.......
function KeyCache()
{
if (window.event && window.event.keyCode == 8)
{
window.event.keyCode = 123;
}
}
document.onkeydown=KeyCache();
or if u don't like to go back page then clear the history and cache.. like.
Parwej Back...............DON of Developer.......
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Hi
Try this
<script language="javascript">
history.forward(1);
</script>
in head secrion
Don't Quit
|
|
|
|
|
thanks, ur solution worked fine
|
|
|
|
|
Use Server.transfer("NextPage.aspx") instead of Response.Redirect and the back button will b disabled automatically.
|
|
|
|
|
May be it will meet the requirement. But will it work fine, I didnt check it. I will check it now.
Regards,
-- modified at 5:41 Saturday 3rd February, 2007
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
|
Are they working fine. Which one of them is doing well. Is the
Server.Transfer("NextPage.aspx") doing good for you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi
i have used forms authentication for securing some of the web pages of my site.i want to grant admin previledge to one of the user so that he will be only having access to admin.aspx...for that i have modified my web.config as follows:
..location path="admin.aspx"..
..system.web..
..authorization..
..allow users="admin"..
..deny users="*"..
...authorization..
..systeb.web..
can anybody help me how can i configure only one user to have access to admin.aspx...since my site is forms authenticated..now any user can access to admin.aspx...so how can i configure admin status for a particular user..
its urgent..
thanks in advance..
pradip kishore
|
|
|
|
|
Hi all
I have a datagrid, which holds item name, item price, and its image(all from SQL Server database), what I need is when the user clicks on the image, I need the (id) for the item to be carried to the new page where I want to show more details about the item (expiry date, ...)
thanks alot
|
|
|
|
|
are u trying to fetch image data from data base in to grid or ur problem is something else...
plz describ... it
|
|
|
|
|
Thanks alot for your reply,
No, I show the images in the datagrid, but what I need in how to make the image links to another page with passing its key from the db.
I tried ... but an error occurrs...
Best wishes
|
|
|
|
|
Hi to all
I am trying to automat ms-word application using asp.net and COM component.
I am using visual studio 2005 and i have added Microsoft word 11.0 Object libarary as reference to my projcet.
I am creating new document, opening new document and saving it, using objects of Word.ApplicationClass and Word.Document Class. Up to building of application everything is fine but when i am trying to run it using IIS its giving error like "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))"
I request if anyone can help me out
Thanks..
|
|
|
|
|
my working partner who has done lot of research on doc automation... is asking have u given all the right to ur com component on the server...
and have u enables imprsonate user is true or not...
|
|
|
|
|
com component is having all rights
and in web.config file i tried with <identity impersonate="true">
but this is givin the same error
|
|
|
|
|
I tried with
identity impersonate="true"
still it gives same error
|
|
|
|
|
Dear All,
We have a very peculiar problem in a Web / Intranet application that copies files to a machine in the LAN using the UNC.
The application is developed in ASP.NET / VB.NET and we are using a simple File.Copy in a Recursive function to copy the files. If the number of users doing the copy is less, no problem but when there are multilple copies going on we get the folowing error :
The handle is invalid. -- at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.InternalCopy(String souceFileName, String destFileName, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName)
Could you advise us pls??
Thanks & regards
Ashutosh
|
|
|
|
|
hi,
i am confused with this question...anyone knows correct answer, please let me know.
An application using cookie authentication was working fine on another server. When moved to a new server, cookie authentication is not working correctly.
Which one of the following is the likely explanation of the above problem?
Choice 1 The new IIS server is not configured to allow anonymous access.
Choice 2 SSL is not properly configured.
Choice 3 The users are not correctly entering their passwords.
Choice 4 Passport authentication is not correctly configured.
Choice 5 The IP address of the new server does not match the prior server IP address.
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Trying to cheat on the test, are we?
---
single minded; short sighted; long gone;
|
|
|
|
|
hi,
how can u think in this way?? yesterday my employer sent the test.i already wrote the test and passed the test. while writing the test i didn't get the exact answers for few. but still i attempted. just want to verify are they correct or not?? i want to learn the subject, but not cheat the people over here or some one else.
i have my own principles. passing the test is not my own aim.
i just opened the site by expecting the answers for my questions. but really disappointed!
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I think in that way because regularly there are people who post here that are trying to cheat on tests, get others to do their homework, and the like. I asked if you were doing the same, as nothing in your post indicated that you weren't.
It's a bit sad that we can't just trust each other, but that's the way it is. If your intentions are good, you have to indicate that in your post somehow, otherwise it will automatically raise the question of your motives if your post looks suspicious. In your case you were actually posting questions from a test, and as you didn't say that you had already taken the test, the natural assumption is that you wanted the answers because you are still taking the test.
---
single minded; short sighted; long gone;
|
|
|
|