Click here to Skip to main content
15,927,060 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: By entereing a string load a particular URL in browser Pin
Arindam_DT21-Dec-05 20:04
Arindam_DT21-Dec-05 20:04 
GeneralRe: By entereing a string load a particular URL in browser Pin
enjoycrack21-Dec-05 20:11
enjoycrack21-Dec-05 20:11 
GeneralRe: By entereing a string load a particular URL in browser Pin
Arindam_DT21-Dec-05 20:17
Arindam_DT21-Dec-05 20:17 
AnswerRe: By entereing a string load a particular URL in browser Pin
Guffa21-Dec-05 20:57
Guffa21-Dec-05 20:57 
GeneralRe: By entereing a string load a particular URL in browser Pin
Arindam_DT21-Dec-05 23:08
Arindam_DT21-Dec-05 23:08 
AnswerRe: By entereing a string load a particular URL in browser Pin
Guffa22-Dec-05 7:33
Guffa22-Dec-05 7:33 
AnswerRe: By entereing a string load a particular URL in browser Pin
jcrussell22-Dec-05 15:14
jcrussell22-Dec-05 15:14 
Questiongenerating asp:textbox in loop Pin
g00fyman21-Dec-05 16:37
g00fyman21-Dec-05 16:37 
hi to all,

merry christmas too Smile | :)

just wondering if someone can help me resolve this issue please?

i have the following code

    <%
      Hashtable items = CartItems;
        
      foreach(string item in items.Keys)
      {
        object[] vals = (object[])items[item];          
        int qty = (int)vals[1];
        decimal cost = (decimal)vals[2];          
        decimal total = (decimal)vals[3];
        string image = (string)vals[4];

        string pid = item + "_qty";
                                                
    %>  
    <tr align="center" valign="middle" class="artistType">
    <td>
    <img src="<%= image %>" width="<%= THUMB_WIDTH %>" height="<%= THUMB_HEIGHT %>" />
    </td>
    <td><%= item %></td>
    <td>$<%= cost %></td>
    <td>
      < asp:TextBox id="<%= pid %>" style="WIDTH:25px" maxlength="2" Runat="server"   
        <%= qty %>
      < /asp:TextBox >                                               
    </td>
    <td>$<%= total %></td>
  </tr>
<% } %>


i am getting error like

' cannot have <%...%> in server tag ' and
' <%= pid %> is not a valid identifier '


can anyone tell me how to achieve this please ?

btw i have spaced tag content so as to preserve formatting Smile | :)

regards,
g00fy
AnswerRe: generating asp:textbox in loop Pin
Christian Graus21-Dec-05 16:41
protectorChristian Graus21-Dec-05 16:41 
GeneralRe: generating asp:textbox in loop Pin
g00fyman22-Dec-05 1:21
g00fyman22-Dec-05 1:21 
GeneralRe: generating asp:textbox in loop Pin
g00fyman22-Dec-05 2:18
g00fyman22-Dec-05 2:18 
GeneralRe: generating asp:textbox in loop Pin
Christian Graus22-Dec-05 9:34
protectorChristian Graus22-Dec-05 9:34 
GeneralRe: generating asp:textbox in loop Pin
g00fyman22-Dec-05 17:22
g00fyman22-Dec-05 17:22 
GeneralRe: generating asp:textbox in loop Pin
analytiks22-Dec-05 19:33
analytiks22-Dec-05 19:33 
Questionjpeg image DPI property Pin
MichaelBlane21-Dec-05 8:17
MichaelBlane21-Dec-05 8:17 
QuestionASP.NET and JAVASCRIPT Pin
MinaFawzi20-Dec-05 22:35
MinaFawzi20-Dec-05 22:35 
AnswerRe: ASP.NET and JAVASCRIPT Pin
enjoycrack21-Dec-05 7:03
enjoycrack21-Dec-05 7:03 
GeneralRe: ASP.NET and JAVASCRIPT Pin
MinaFawzi21-Dec-05 22:23
MinaFawzi21-Dec-05 22:23 
GeneralRe: ASP.NET and JAVASCRIPT Pin
analytiks22-Dec-05 1:12
analytiks22-Dec-05 1:12 
GeneralRe: ASP.NET and JAVASCRIPT Pin
MinaFawzi22-Dec-05 5:02
MinaFawzi22-Dec-05 5:02 
GeneralRe: ASP.NET and JAVASCRIPT Pin
analytiks22-Dec-05 19:28
analytiks22-Dec-05 19:28 
GeneralRe: ASP.NET and JAVASCRIPT Pin
MinaFawzi24-Dec-05 3:36
MinaFawzi24-Dec-05 3:36 
GeneralRe: ASP.NET and JAVASCRIPT Pin
analytiks25-Dec-05 2:38
analytiks25-Dec-05 2:38 
GeneralRe: ASP.NET and JAVASCRIPT Pin
MinaFawzi25-Dec-05 13:31
MinaFawzi25-Dec-05 13:31 
GeneralRe: ASP.NET and JAVASCRIPT Pin
enjoycrack22-Dec-05 6:52
enjoycrack22-Dec-05 6:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.