|
Hi,
I want to select directory using fileupload or button(if possible). But using File Upload control it goes enter into that selected directory for file. I want to reach upto only that perticular selected directory.
How can I do this??
Thanks
sjs
|
|
|
|
|
You can not select a directory.This is file upload control,we can just files only.
Also Have alookCheers!!
Brij
|
|
|
|
|
i agree there is no such facility with fileupload control...
|
|
|
|
|
yes Cheers!!
Brij
|
|
|
|
|
Hi,
i just upload a ms document file from my local system. when i clicking on go button. its automatically convert into pdf format using pdf995. its working fine in my local system.
But its not working in server
suddenly displayed the foolowing error:
{Retrieving the COM class factory for component with CLSID {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} failed due to the following error: 80040154. }
could you please give me the possible answerYours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
have a look to the following links.
Link 1
Link2 Cheers!!
Brij
|
|
|
|
|
PDF CONVERSION
Dim filesource As Object ="\\192.168.0.1\d\kannan\document\test.doc"
Dim app As New Word.Application
Dim missingValue As Object = Type.Missing
Dim ac As New Word.Application()
Dim myTrue As Object = True
Dim myFalse As Object = False
Dim document As New Word.Document
app = ac.Application
app.DisplayAlerts = Word.WdAlertLevel.wdAlertsMessageBox
document = app.Documents.Open(filesource, myTrue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue)
app.ActivePrinter = "PDF995"
'app.ActivePrinter = "PrimoPDF"
app.ActiveDocument.PrintOut(myFalse, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, myFalse, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue, missingValue)
document.Close(missingValue, missingValue, missingValue)
app.Quit(missingValue, missingValue, missingValue)
OPEN WORD DOCUMENT
Dim WordApp As New Word.ApplicationClass()
Dim missing As Object = System.Reflection.Missing.Value
Dim fileName As Object = TextBox2.Text
Dim newTemplate As Object = False
Dim docType As Object = 0
Dim isVisible As Object = True
Dim aDoc As Word.Document = WordApp.Documents.Add(fileName, newTemplate, docType, isVisible)
WordApp.Visible = True
aDoc.Activate()
this function all r working fine in local system. if i can using in iis showing COM errors....Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
Hi all,
Right now i am working on some S/W developement and in my project i want
to move columns of gridview to rightside or leftside at runtime and this gridview is generated at runtime.
so any one who has any suggestions on this pls reply....
Thank U
|
|
|
|
|
do you want to move the columns in the same grid or in another grid? Cheers!!
Brij
|
|
|
|
|
|
Suppose I have a server control which executes some javascript function on every page postback. For the sake of simplicity, let's say it renders like this:
My control
<script type="text/javascript">window.alert('My control is in the page');</script>
This, of course, works, a popup window is displayed on every postback. Now imagine that the control is nested in an UpdatePanel control. Then the popup is displayed on full page postbacks, but not on partial postbacks where only the UpdatePanel is refreshed (although the javascript is still rendered to the page, it is not executed).
My question is: How do I execute some javascript function on truly every postback, partial or full? It is obvious that "standard" methods for such scenario, like RegisterClientStartupScript, are out of the question.
(As an example, if I want to write my own Timer server control, I need the execute some javascript which after some time interval causes postback. This is easy with full page postbacks, when this javascript is normally executed, but when the Timer is in UpdatePanel (and enabled during partial postback), I need to run the javascript after the partial postback, which I cannot see how.)modified on Tuesday, February 16, 2010 3:30 PM
|
|
|
|
|
|
Thanks, this helped a lot. I also learned that ScriptManager.RegisterStartupScript method simplifies this functionality.
H
|
|
|
|
|
Hello friends,
Hope u r doing good.
I have a scenario as following:
We have two dropdown lists and left menu on the master page. We have 7 content pages based on the master page.
After the selection of two dropdown lists, the menu will be populated. Once the menu populates, the menu will have links to 7 content pages.
When we click on the links in the menu, the dropdowns should not be refreshed (Master Page content should not be refreshed), Only the content of the content page should be displayed in the content area without refreshing the whole master page.
Whenever we click on other content page link, only the content place holder area should be replaced without refreshing everything on the page. We want to hold the values of dropdown lists while loading the content pages.
Any Ideas how to acheive this?
Thank you in Advance,
Raheem MA
|
|
|
|
|
i can suggest u better if u put html snippet here.
what i understand is u can use html iframe control to load different pages inside page without refreshing the page.you just need to change "src" property of iframe.
|
|
|
|
|
you can use the update panel with conditional mode. it is better way as user fill that the entire page is not refresh. put the update panel in both master page and all content page and set the mode conditional. now when you want to update any panel just write
updatepanel1.update() method. this is easiest way to achieve as per me.
hope this will help you.Regards
Keyur Satyadev
|
|
|
|
|
I dont think it'll work.because he wants to update only the content page mot master.But every page(content page) has a different URL/page and the whole page will get refreshed when we'll be changing the url.
Please correct me if I am wrong.Cheers!!
Brij
|
|
|
|
|
Thank you for your quick responses.
Any way to acheive my required functionality?
Thank you in advance,
Raheem MA
|
|
|
|
|
Hi there every one. I am new in rdlc . I have a line chart, where i want to show tooltips in every single diamond point of that line.
Any idea will be helpful.
Thanks in advance
|
|
|
|
|
If it version 2005 it is not supported..!You can give only full chart tool tip..!But if you are using 2008 you can go to chart series properties and set the tool tip..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi thanks for your reply. But where is the chart series properties, i could n't find any. even if i set the tool tip it shows only the last value , say 40 . even if i place my mouse pointer at 10.
Any suggestion will help.
|
|
|
|
|
If you are using 2008 ..!Follow this Procedure..!
1)Right Click on the chart Go To Series Properties..!
2)On the left side of the pane Select SeriesData and on the Right side select the tooltip option and set your required value..!
If the above properties are not visible then you are using vs 2005
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Never under estimate the power of saving Bookmarks. I recently found a great example on-line showing you how to display the DetailsView inside the GridView. The problem... I didn't bookmark it. Essentially, if you clicked on the "Edit" link it would just expand that row and show the DetailsView underneath the record you selected.
Could someone please provide a sample or link?
|
|
|
|
|
How about going through your browser history? Or searching in google with similar keywords? "No matter how many fish in the sea; it will be so empty without me." - From song "Without me" by Eminem
|
|
|
|
|
I attempted that but I still can't find the exact article.
|
|
|
|