|
Magh_M wrote: Outer table?,
When you are designing a page that has to be fit on browser window when it resizes, needs an outer table with width specified in percentages. Outer table is the first table where you put other tables.
|
|
|
|
|
ya i given in that width 100%,
Eventhough coming some links are down sides
Regards,
Magi
|
|
|
|
|
May be the cell that contains links won't have sufficient space to allocate links. Try increasing the width of that cell which contains links
|
|
|
|
|
ya thanks for ur reply,
Regards,
Magi
|
|
|
|
|
There are seven checkboxes in my footer templet of the datagrid and also in the edit templet so my question is that i want a javascript for checking the status of that checkbox that wheather they are checked or not and also i want to maintain the status of that checkbox which are checked and store their value into the database. I require this script because i don't want to refresh the page and donot want to use required validator.
Please give me the solution as fast as possible for this question.
Hiren Dave
|
|
|
|
|
how i can add a new table to a editable iframe when user passing row size and column size
|
|
|
|
|
IFRAME will be having a pasteHTML/innerHTML (varies on different browsers) property, create table HTML tags with the user supplied values and pass it over to this.
|
|
|
|
|
sir u have answered to my qurrey .how we can do this sir using javascript
create table HTML tags with the user supplied values
|
|
|
|
|
Assume user is giving you the number of columns and rows needed. You have to create a JS variable which has HTML tags for making such a table. See the following sample
var TableJS = "<table>";
TableJS += "<tr>";
TableJS += "<td></td>";
TableJS += "</tr>";
TableJS += "</table>";
Hope this makes sense
|
|
|
|
|
thanks u very much sir, m getting now the table with user selected row and columns
|
|
|
|
|
sir can i get more than one table on iframe.its getting only one table
|
|
|
|
|
if you are able to do for one table, you can always extend the script to make it working for multiple tables
|
|
|
|
|
Hi
I am trying to List a folder Items which is in C:/
and my .aspx file is in server
My code
------
Public Shared al As ArrayList
al = New ArrayList
Dim FtpUpFiles() As String
If Directory.Exists("c:/songs/") Then
FtpUpFiles = Directory.GetFiles("c:/songs/")
If FtpUpFiles.Length > 0 Then
Dim i As Integer
For i = 0 To FtpUpFiles.Length - 1
al.Add(FtpUpFiles(i).ToString.Remove(0, FtpUpFiles(i).ToString.LastIndexOf("\") + 1))
Next
al.Sort()
dgUp1.Visible = True
dgUp1.DataSource = al
dgUp1.DataBind()
End If
------------------
It is working in Local fine But not in the server
How can access the folder form server
Than Q
Keerthi
|
|
|
|
|
kirthikirthi wrote: Directory.Exists("c:/songs/")
try following code
Directory.Exists(Server.MapPath("c:/songs/"))
best regard
pathan
|
|
|
|
|
If you mean that you want to access the folder on your computer from the server, that is not possible.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
This is not possible, because ASP.NET can access the directories which is located in side the virtual directory or allowed space.
|
|
|
|
|
I am using QueryString in asp.net. I am pick value and store in Label1
Lable1.text = Request.Querystring["dd"].ToString();
Now Label is = 1
But I want to pick a Text and store in Lable1
|
|
|
|
|
for example ur qry string is like this:-
http://192.168.8.5/file/Image.aspx?CID=20071012045958562
and text which u send through qry string is:-20071012045958562
u want this text display in ur lbl.
for this:-
Dim StrCom As String
StrCom = CType(Request.QueryString.GetValues("CID")(0), String)
Lable1.text = StrCom
Piyush Vardhan Singh
|
|
|
|
|
Please write this code c#
|
|
|
|
|
string YourString = Request.QueryString["QuesryStringname"];
|
|
|
|
|
vb.net
Dim StrCom As String
StrCom = CType(Request.QueryString.GetValues("CID")(0), String)
Lable1.text = StrCom
c#:-
string StrCom = (String)Request.QueryString.GetValues("CID")(0);
Lable1.text = StrCom ;
i think soniya have done this type of work in past
Piyush Vardhan Singh
|
|
|
|
|
Error: Method Name Expected
|
|
|
|
|
use this
string StrCom = Request.QueryString["CID"];
Label1.Text = StrCom;
its working 100%
Piyush Vardhan Singh
|
|
|
|
|
Piyush Vardhan Singh wrote: Dim StrCom As String
StrCom = CType(Request.QueryString.GetValues("CID")(0), String)
Lable1.text = StrCom
WHY ? Request.QueryString returns a string value. Why you need to cast it again to string ?
|
|
|
|
|
yes u r right. but i use this code in my last project so i paste this code for deep.
Piyush Vardhan Singh
|
|
|
|