|
Hi Sumanth,
Create a datatable and set it to dataset.table[0] now add one more column in datatable and bind the gridview with this table.
and for editable value for this column use below..
<asp:TemplateColumn SortExpression="Description" HeaderText="Description">
<HeaderStyle HorizontalAlign="Left" Width="160px" CssClass="grid-header" VerticalAlign="Top"></HeaderStyle>
lt;ItemStyle CssClass="grid-item"></ItemStyle>
<ItemTemplate>
<asp:textbox id=EntryDescription runat="server" CssClass="Standard-text" Width="137px" Text='<%# DataBinder.Eval(Container, "DataItem.Description") %>' MaxLength="250">
</asp:textbox>
</ItemTemplate>
</asp:TemplateColumn>
Thanks
Hem
|
|
|
|
|
Hi I have grid view with a details view binded to it.
I have View details button binded to gridview select property. I also have a add to list button field which should select the current row and insert its certain column to the listbox.
I tried to bind it to select command but its showing the details view also. confused:
Code, Code, Code, chill lol.
|
|
|
|
|
I am developing asp.net application. i have a visual basic exe. when use this exe in asp.net. for the below code
-------------------------------------
Process startinfo = new Process();
startinfo.EnableRaisingEvents = false;
startinfo.StartInfo.FileName = Server.MapPath("~//FolderName\\RR.exe");
startinfo.Start();
--------------------------------------
it is succeffully runing.
when my asp.net web application to run the IIS after publishing. Then that exe not running.
Plz help me. what's probleam.
I have been already full control that folder within store exe.
|
|
|
|
|
Hi Rinki,
If your web application is hosted on Xp machine then give permision to ASPNet user and if it it 2003 server then to the network services.
Let me know if it helps you..
Thanks
Hem
|
|
|
|
|
my applicaion hosted on IIS in xp machine. please tell me clearly that which location of permission to ASPNet user
|
|
|
|
|
is by giving permision to the exe folder to the ASPNET user not working?
|
|
|
|
|
|
i have grid....in which displaying data....but data not get display properly. first line display proerly but problem is in 2nd line.
full line(2nd) get display....but only above part.(ie half line get dispay)
i have set wrap property as true...still not working
my grid is as below
<C1WebGrid:C1BoundColumn DataField="Remarks" HeaderText="Review Comments" SortExpression="Comments"
Visible="true">
<HeaderStyle HorizontalAlign="center" Wrap="true"></HeaderStyle>
<ItemStyle HorizontalAlign="left" Wrap="true" Width="350px"></ItemStyle>
</C1WebGrid:C1BoundColumn>
|
|
|
|
|
Have you tried width="100%" on your column?
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
i tried tht
but no use.......
|
|
|
|
|
Hi,
I have a web page which allow user to upload files to the server over the Internet and print it out on the local printer.
What I did now is after the user upload the pdf file, when click 'process', it will open the Save As dialog box for user to download and save the file on to the local computer for printing.
What I wish to do is when click 'process', I want it to directly start printing to the local printer without any user interaction.
What I have thought of till now is, to download from the backgroud to the user's computer and trigger the printing on the computer but I just don't know how can I do that.
Need you guys to shed some light for me, thanks.
|
|
|
|
|
J Liang wrote: What I did now is after the user upload the pdf file, when click 'process', it will open the Save As dialog box for user to download and save the file on to the local computer for printing.
Looks odd. Since file has been uploaded from user's local machine, why to download again for printing?
J Liang wrote: What I have thought of till now is, to download from the backgroud to the user's computer and trigger the printing on the computer but I just don't know how can I do that.
You can't trigger printing in that way. ASP.NET won't have permissions to write files to local machine. User should explicitly trigger the printing.
|
|
|
|
|
Oh, the reason that the user needs to upload the pdf file to the server is because it needs to be attach with banners as header and footer of the pdf file. Meaning, the server will re-alter the content of the pdf file with extra information.
I actually found this link which will print the pdf without prompting user to click print. http://www.planetpdf.com/forumarchive/110829.asp[^]
It seems working though, still in the process of testing it.
|
|
|
|
|
hi
i want to add a link on my web site - "set this page as homepage"
can sm1 pls give me c# or vb code for that
with thanks
Tarun Suneja
|
|
|
|
|
Hi Tarun ,
Refer to the following links:
Link #1[^]
Link #2[^]
I hope this would be helpful.
John Adams
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Use the following ant coorect your website URL..
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://dynamicdrive.com');">Click here to make Dynamic Drive your default homepage</a>
|
|
|
|
|
Hi,
I have dropdown box in the form and it is populated by a query. What I want is to place an item such as "Select an item" as 1st item in the drop down box. How could I do that?
Thanks.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Add "Select an item" to the items collection
And set the appenddatabouditems to true
Alexei Rodriguez
|
|
|
|
|
WOW! That's a good one. 5ed
|
|
|
|
|
use this
dropdownlist1.Items.Insert(0, "--Select an item--");
|
|
|
|
|
Can some one confirm if Dynamic Data Wizard in ASP.Net 3.x works with MS Access databases?
I can't seem to find any references to MS Access DB.
Thanks
|
|
|
|
|
[edit] Ah, crappy link. [/edit]
Blog link to be reinstated at a later date.
modified on Sunday, September 28, 2008 8:22 PM
|
|
|
|
|
Sh*t man, the article is about Adobe GoLive not Asp.Net 3.x, Also it was published in 2002, the application is not available anymore.
Thanks for the link.
ML
|
|
|
|
|
Sorry; just did a quick search and saw the Access refrence.
Blog link to be reinstated at a later date.
|
|
|
|
|
hi all ,
I want to upload image path to a database and image to a folder. How can I do that?
any article or guidance is higly appericated .
Best Regards
Rameez
|
|
|
|