|
Thanks Christian,
Compared with uploading one big zip file, do you have any better ideas for browser based solution? (I can not let client install any non-browser software, like FTP client to upload.)
regards,
George
|
|
|
|
|
hello eveyone..
how can i call or fire itemCommand using onclick in datagrid. im not using link button is that possible??
thanks...
jyn
|
|
|
|
|
You are spmming this site. 2 day back you have asked the same question. Now Today just one post back, Deleted that and asking for same questions.
Don't SPAM.
cheers,
Abhijit
|
|
|
|
|
hello...
sorry but im not asking the same question and im not a spammer.
jyn
|
|
|
|
|
Hi,
In my application I have a file which is stored in the server C:\Files Folder and the file name and type is any file.the whole path for the file is stored on the database.I show file name in gridview templete field as anchor.Now when i click on a link on one of the column of a gridview then the file from that location should open.
but it shows file not found.
i am writing this code to open a file
<asp:TemplateField HeaderText="File Name">
<ItemTemplate>
<a href='<%#DataBinder.Eval(Container.DataItem,"DocPath") %>' target="_blank"><%#DataBinder.Eval(Container.DataItem,"DocName") %></a>
</ItemTemplate>
</asp:TemplateField>
can any one help me.
With Regards
ajeet
|
|
|
|
|
Are you able to access the folder from your sytem with the path path that you saved in DB?
Cheers!!
Brij
|
|
|
|
|
Thanks for replying me.
yes,
the file is save by the system in c: also a record in database.
when i save file in newtowk drive.its working fine.
thanks
ajeet
|
|
|
|
|
This is retarded. The file is stored on your server, therefore, once you deploy this app, the client will not have the web app running on their local machine, and therefore any link you create, will not work, obviously.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks For Replying me.
Can u tell me any alternative way.
with regards
ajeet
|
|
|
|
|
you can put the files inside your web app and ask people to download them and run them. That's your only real option.
And, again, you really should read up on ASP.NET, because you're missing some absolute basics to think otherwise.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Hi,
I have binded gridview with data bind and then added template columns[checkbox,dropdown] to that gridview.
Now i am getting a grid view like.
in first column-checkbox
in second column-dropdown,thirdcolumn-bindeddata
but i have to display the binded data in second column and in third column-dropdown.
how can i move that column.
Thank you
|
|
|
|
|
You can do one thing,
Define the bound field for every column that you want to in Gridview with template columns.
Cheers!!
Brij
|
|
|
|
|
Thank you for reply.
can we define bound field to column which i am filling programatically(gridview.datasource='sourcename')
I have tried like this:
<asp:gridview id="GridView3" runat="server" xmlns:asp="#unknown">
<columns> <asp:boundfield datafield="column_name">
<asp:templatefield>
<itemtemplate>
<asp:textbox id="txt" runat="server">
In CS file:
GridView3.DataSource = ds_ColumnNames;
GridView3.DataBind();
Result:
Geeting same columns twice and one textbox filed
same data is filling in two columns
Thank you
|
|
|
|
|
Put AutoGenerateColumns="false" in gridview tag then you'll get only those columns that you'll define as boundfield .and use bound field for every column you need as
<asp:boundfield datafield="To" headertext="To" xmlns:asp="#unknown">
<itemstyle verticalalign="Top" width="18%">
<headerstyle font-underline="true">
Cheers!!
Brij
|
|
|
|
|
sram15 wrote: but i have to display the binded data in second column and in third column-dropdown.
Goto the source and put third column as second.
|
|
|
|
|
|
Did you use Ajax on the page?
Cheers!!
Brij
|
|
|
|
|
Brij, Do you why he has deleted the Message. Because, 2 day back he has asked the same question and you have given the same answer to him .
cheers,
Abhijit
|
|
|
|
|
Ok but i don't think this is the reason to delete the message.Do You?
Cheers!!
Brij
|
|
|
|
|
Hi
How to generate dynamic sub domains like in blogspot.com.
My requirement is, user will fill the form where he gives his desired Sub domain name. When user submits the form, system should generate sub domain like .Mysite.com
Any information / resource or design related docs/urls on this would do a great help.
Thank you in advance
Satish
|
|
|
|
|
Dear All,
I am working on a web site when i loading my web application the following error is acquiring i have written con in web.config file of web site and i am using OLEDB provider i am coding in vb.net
An exception of type 'System.InvalidOperationException' occurred in System.Data.dll but was not handled in user code
Additional information: The ConnectionString property has not been initialized.
Kindly tell me what should i do?
|
|
|
|
|
You have already post the same. Don't SPAM.
cheers,
Abhijit
|
|
|
|
|
Repost again?Please quote line of code of error.
Cheers!!
Brij
|
|
|
|
|
Don't repost ? Learn from the past and start posting code ? Give us some more details ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|