|
No i have to use checkboxes only
|
|
|
|
|
even you can select multiple radio buttons in datagrid
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Write the javscript for it i think that is better option
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
good day im going nuts about this please help..
i want to display a string (html source) from database and i want it to formatted like this
"<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<td class="titleFeature">Complete</td>
</tr>
<tr>
<td>Hardwood floors, indoor-outdoor tables and chairs, kitchen and catering prep area, 4 restrooms, onsite hourly parking, online digital sound and video system, and large boat dock.</td>
</tr>
</table>"
with indentions and all...
not like this:
"<table width="100%" border="0" cellspacing="5" cellpadding="0"><tr><td class="titleFeature">Complete</td></tr><tr><td>Hardwood floors, indoor-outdoor tables and chairs, kitchen and catering prep area, 4 restrooms, onsite hourly parking, online digital sound and video system, and large boat dock.</td></tr></table>"
so that it will be easy to read...
|
|
|
|
|
Use
Tag to diaplay the Content in Preformatted text
You have to format the source when you are storing it to database and when you are going to print it then use <pre> tag..
<div class="ForumSig">Best Regards,
Chetan Patel</div>
|
|
|
|
|
replace '<' with '& lt;' and '>' with '& gt;' (without space between & and lt; , & and gt) then use HTML tags I mean like <BR /> etc. to format your string and when displaying use server.encodeHTML(string) or may be server.decodeHTML(string) I don't remember which one to use try using both and see the result
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
my problem is that I am attempting to create a page with a numericupdownextender. I am creating a kind of time (1am, 2am, 3am... 6pm, etc)so that it goes up and down through it. the problem I am finding is that when I put 1am etc is that it is jumping up in 2s, and doesn't even decrease (like a normal increment should go 1,2,3, this goes 1,3...).
the following is just the snippet for the extender:
<ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server" RefValues="01AM;02AM;03AM;04AM;05AM;06AM;07AM;08AM;09AM;10AM;11AM;12PM;1PM;02PM;03PM;04PM;05PM;06PM;07PM;08PM;09PM;10PM;11PM;12AM"
TargetControlID="TextBox1" Width="100">
</ajaxToolkit:NumericUpDownExtender>
any help would be much appreciated.
|
|
|
|
|
Please, Do Not Post Duplicate Questions
Best Regards,
Chetan Patel
|
|
|
|
|
Hi,
I have kept ScriptManager in MasterPage and UpdatePanel in contentpage.My code in content page is as follows:
<asp:UpdatePanel ID="pnl1" runat ="server" >
<ContentTemplate >
<asp:DropDownList ID="ddl1" runat ="server" AutoPostBack="True" OnSelectedIndexChanged="ddl1_SelectedIndexChanged" >
</asp:DropDownList>
<asp:DropDownList ID="ddl2" runat ="server" >
</asp:DropDownList>
</ContentTemplate>
<Triggers >
<asp:AsyncPostBackTrigger ControlID ="ddl1" EventName ="SelectedIndexChanged" />
</Triggers>
</asp:UpdatePanel>
But selectedIndexchaged event is not firing.
Can anyone help me in this regard.Thanks in Advance,.................
|
|
|
|
|
hi friends,
I am converting my sound file in to mp3 file format using lameShell.however My file get converted into mp3 file but when i want to delete orignal file after conversion it gives me error
"The process cannot access the file because it is being used by another process."
pls help me solving this problem
Thanks in advance
|
|
|
|
|
I think the file is opened first close the file then delete
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
actually i am not using file stream can u pls tell me how can i explicitly close file
|
|
|
|
|
Can you post the code how you are handling that file ... i think it is C sharp code
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
|
Thats nice what you did ? What was causing to error ?
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
When running my Web project I have a busy browser window for a full minute
and then receive an error reporting dialog that says, "WebDev.WebServer.exe
has encountered a problem and needs to close. We are sorry for the
inconvenience." My default.aspx page never loads. This just started
happening yesterday while I was working on my Web project. Before that, it
run okay.When i run this project on some one else computer it runs correctly with out error. I also refresh my Window nd VS.
how can i fix that??
thank you...
|
|
|
|
|
I really don't know but try to reset IIS
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
Dear I reset IIS again nd again but same problem .....
As there anyone who can help me. Pls help me.
|
|
|
|
|
hi friends
i have class libray named as class1.cs
how can i create popup window in class and call in aspx page.
can u help me.
Regards
saravanan
|
|
|
|
|
When do you want to call that pop window thats important ? When you have to call that window
Thanks and Regards
Sandeep
If 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... "
|
|
|
|
|
Hi friends,
I have one query, in my project when i upload one image to some folder that time one exe will be automatically create. is it possible?
Praveen Kumar.R
|
|
|
|
|
Where can i get the the free edition of windows server i know there a two types one is free and the other is not
|
|
|
|
|
I have a dropdown list control on an aspx page that I need to pass the value of to an ascx page that I reference by using get/set. My problem however is after after I "set" the value, it seems to reset itself back to zero when I try to access it again.
Here's my code. I'm using 2 pages (index.aspx & testgridcontrol.ascx:
index.aspx:
-----------------------------------------------------------------------------
protected void Page_Load(object sender, EventArgs e)
{
TestGridControl tgc = new TestGridControl();
tgc.physicianID = Convert.ToInt16(dropDownListControl.SelectedItem.Value);
}
Here's my testgridcontrol.ascx page:
public partial class TestGridControl : System.Web.UI.UserControl
{
private Int16 _physicianID;
protected override void OnLoad(EventArgs e)
{
Response.Write(physicianID);
}
public Int16 physicianID
{
get { return _physicianID; }
set { _physicianID = value; }
}
-----------------------------------------------------------------------------
When I "set" this value, it's value is 3 however when I get to the line that reads "Response.Write(physicianID);", the value of physicianID is reset to zero. Any idea what I'm doing wrong? Thanks.
-Goalie35
|
|
|
|
|
I suspect you are bnding the data to the grid every time the page loads. This will reset the value to 0.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Christian. Thanks for the response but I don't think that's quite it. When I step through my code line by line, the process goes as follows:
--------------------------------------------------------------------
Index.aspx > TestGridControl tgc = new TestGridControl();
Index.aspx > tgc.physicianID = Convert.ToInt16(dropPhysicians.SelectedItem.Value);
TestGridControl.ascx > public Int16 physicianID > set { _physicianID = value; }
Index.aspx > End of class
Masterpagefile.cs > (my code then hits my masterpage)
TestGridControl.ascx > protected override void OnLoad(EventArgs e) > Response.Write(physicianID);
TestGridControl.ascx > public Int16 physicianID > get { return _physicianID; }
-------------------------------------------------------------
By the time I re-enter testgridcontrol.ascx after my code takes a detour through my masterpage file, my _physicianID variable is already reset to zero.
I hope this helps shed some light on my issue.
Thanks again.
-Goalie35
|
|
|
|