|
I added this line in the code behind
|
|
|
|
|
|
I added the line in the BindData() which calls from Page_Load
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
BindData();
}
}
private void BindData()
{
uploadImg1.Attributes.Add("onclick", "BrowseSingle()");
}
|
|
|
|
|
what ever you have written , i have run.... its working fine..... check BrowseSnigle Function !!!!
|
|
|
|
|
Can you open the FileBrowser with this function check it.
You can check our site http://www.doxtop.com/userspace/upload.aspx its takes two clicks.
|
|
|
|
|
First times its take two click ??
|
|
|
|
|
ya thats what I don't understand why it takes only first two clicks??
|
|
|
|
|
hi guyz . i am trapped with crytal report complexity. i have crytal report version 11 R2 and also a crystal report tool thats come along with Visual Studio 2005 ..................is visual studio crystal report sufficient for deployement..........i want to have in asp.net appplication these reports ...........i want report of Pivot Grid type .............database is sql server 2005 ..............can u please provide some example of push method ..............thanks a lot ..........
Thanks & Regards
Manish Singhal
Software Engineer
Maxworth systems(Delhi)
|
|
|
|
|
HeaderLogo is id of td in table.
like this:
<td id="HeaderLogo" runat="server"></td>
server side written code:
HeaderLogo.BgColor = "#FFAAFF";
HeaderLogo.Style.Value = "background-image: url(images/get_adobe_reader.gif);background-repeat:no-repeat;";
now I want to set width,height,horizontal and vertical allignment for above Background image.
and also
HeaderLogo.InnerText = "Test Header";
HeaderLogo.VAlign = "top";
HeaderLogo.Align = "center";
for above inner text I want to set FontColor, FontSize,FontBackgroundColor
how to do these things?
thanks
You get the best out of others when you give the best of yourself.
modified on Tuesday, July 1, 2008 10:52 AM
|
|
|
|
|
Why you can't create a CSS CLASS for all these properties and apply the class at run time to the TD?
Copy and paste is a design error
|
|
|
|
|
actually all these properties whatever I want to set I will pick up from database so it will be different for all records.
thanks for your kind response.
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Again you can create classes and store the class name in the database.
Anyway try this out, but not a good solution.
control.Style.Add("key", "value").
If you don't know the property names google it.
Copy and paste is a design error
|
|
|
|
|
why you are trying to do it in this way? best way create a Skin file and then apply it . may on run time.
|
|
|
|
|
It is not fix always.
I will pick up all values from database so it will depend on records in database.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
Hi Experts
after insatlled Windows Vista Sp1 ,
I have suddenly started getting this errorin all my ASP.NET applications when
I try to open any aspx page.
Compiler Error Message: CS0016: Could not write to output file
'c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temp orary ASP.NET
Files\home\0f303405\7e879dff\ohtbfczl.dll' -- 'The directory name is invalid.
'
I looked for this error in google and found a Microsoft support article
which advises to fix environment variables TEMP and TMP. I have verified it
and they are pointing to correct paths. Also, the ASPNET and NETWORK SERVICE
accounts have full access to these temp folders.
I have also given full access to ASPNET and NETWORK SERVICE forTemporary
ASP.NET Files folder but nothing works.
I have also tried aspnet_regiis -i, but this also does not work.
Please please please help me
Thank you
RRave
modified on Tuesday, July 1, 2008 11:19 AM
|
|
|
|
|
Did you do a reset for IIS,
iisreset
Copy and paste is a design error
|
|
|
|
|
yes, but no luck
pls help me
|
|
|
|
|
i didn't face this probs before, after insatlled Sp1 for windows vista it's giving probs.
and i tried more than 3 days,after that i post here.
Thank you
|
|
|
|
|
Check if the following directory is exist or not,If not create it and try
c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temporary ASP.NET
Files\home\
if not following also
c:\WINDOWS\Microsoft.NET\Framework64\v2.0.xxx\Temporary ASP.NET
Files\home\0f303405\7e879dff\
Copy and paste is a design error
|
|
|
|
|
i have folder like based on my applciation (asp.net)
mean my application name is test
i have directory "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\Test\.."
thank yoi for view and pls try to help me
|
|
|
|
|
Ravenet wrote: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\Test\..
Close your application
Delete the directory 'test'
Again open the application, and run it.
Copy and paste is a design error
|
|
|
|
|
|
Are you still working on it?
Copy and paste is a design error
|
|
|
|
|
|
I want to add new node in existing treeview control and after that I wanna bind data from table to this node dynamically.
I m using c#.net
|
|
|
|